Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNNMenu link colorDNNMenu link color
Previous
 
Next
New Post
4/15/2008 4:31 PM
 

It seems like a simple task - change the link, hover and active properties of the root items on the main dnnmenu.

I've located the ".main_dnnMenu" section of skins.css and seem to be able to effect every attribute of a root item EXCEPT the stupid link colors!!

I don't consider myself a CSS god by any means, but this seems like some closely-held mystery only the "inner circle" can understand.

Please HELP!

 
New Post
4/17/2008 2:33 PM
 

Not sure what knowledge you have with regards to the skinning engine within dotnetnuke.  If your not aware of how DNN allows you to customize properties on your controls let me point you to the skinning document.  With that said, you also need to be aware of which menu control you are using (Solpart, DNNMenu, etc.) and with which skin object. 

Most likely you simply need to specify a css class for your CSSNodeRoot, CSSNodeSelectedRoot, and CSSNodeHoverRoot.  Information on what each menu and skin object supports can be found on page 16 of this document.

 


 
New Post
4/21/2008 1:35 PM
 

Thanks for your response Jon.

I am using the DNNMenu.

I finally solved the issue, but I'm not entirely pleased with what I had to do. To me, this seems like a weakness in the implementation of the control and/or something was missed in the release I am on. 

In the CSS there are several classes provided:

.main_dnnmenu_rootitem {}
.main_dnnmenu_rootitem TD {}
.main_dnnmenu_rootitemhover {}

What I discovered, only by digging into the html output source, is that the DNN Menu does not output an actual anchor tag (<a>), nor does it use TD.  Instead it uses "<span>" to contain the properties for the main menu links.

So, I added .main_dnnmenu_rootitem span {} to the CSS and was able to set the properties.

 

 
New Post
4/21/2008 7:24 PM
 

DNN is full of this sort of thing. You have to use Firebug to hunt it all down and come up with some tricky styles at times.

Rob

 
New Post
4/21/2008 11:28 PM
 

You are correct.  DNN only outputs the data necessary to render the menu as the data is much smaller than the data + markup.  As mentioned, a tool like FireBug in firefox works well to determine the actual markup. 


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNNMenu link colorDNNMenu link color


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out