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, ...Problems with [NAV] token and CSS  (root styles)Problems with [NAV] token and CSS (root styles)
Previous
 
Next
New Post
4/2/2008 4:49 PM
 

I am working on a gradient menu on my skin and am having some problems with the root menu items.

For example, I have Home and Services at the root level.  Under Services, I have Web Design and IT Consulting.

I have this CSS
.menu_dnnmenu_rootitem {
   cursor:pointer;
   cursor:hand;
   color: #FFFFFF;
   height:28px;
}

.menu_dnnmenu_rootitem_hover {
   background:url(menu_bg_sel.jpg);
   height:28px;
}


In the skin.xml I have specified CSSNodeHoverRoot and CSSNodeRoot and pointed them to the above classes to control the root styles.  The menu bar is a solid gradient controlled by a different bit of CSS.  When I hover over Home, the CSSNodeHoverRoot style is observed.  The gradient changes from a dark blue gradient to a light blue gradient.  When I hover over Services...  Nothing happens.  If I delete Web Design and IT Consulting, then the Root style works.

To complicate matters if I put the menu back to my original state (ie with submenu items) and specify this bit of css instead:
.menu_dnnmenu_rootitem_hover {
   background:red url(menu_bg_sel.jpg);
   height:28px;
}

When I hover over "Home", the Home text lights up with the correct image background.  When I hover over "Services" I get a solid red background.

What am I doing wrong???

Am I missing something???

Please help.

Thanks

 
New Post
4/23/2008 11:56 AM
 

I am also having a similar problem any root node that has subpages doesn't seem to observe the css style sheet background-image style. Yet the other root nodes do not seem to have the same problem. This may or may not be demonstrated on the following site (depends on what I have done recently.) http://www.lvac.com/lvaclubs

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Problems with [NAV] token and CSS  (root styles)Problems with [NAV] token and CSS (root styles)


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