Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Simple Navigation Styling Problem
 
Adam Moss
Sr. Member
 
Avatar
Total Posts:  248
Joined:  2009-02-11
Birmingham, UK
 

I’m sure someone can quickly help me out with this.

My site is here and you can see the navigation on the left: http://www.motorcycleclothingshop.co.uk/shop/

If you go -> Motorcycle Clothing -> Men’s -> Leather -> Suits you can see that ‘suits’ is in an orange colour - the colour that I originally styled my menu to be.

Does anyone know why this is?

Here’s menu.css:

#nav { padding:0 20px; }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { display:block; text-decoration:none; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 0 LEVEL  ***************/
#nav li { float:left; }
#nav li.active a { color:#000; }
#nav a { float:left; color:#a7c6dd;  }
#nav li.over a,
#nav a:hover { color:#000; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { float:none; margin:0; }
#nav ul li.over { background:#9fb5be url(../images/nav_divider.gif) repeat-x 0 100%; }*/
#nav ul li.last { background:#d5e4eb; padding-bottom:0; }

#nav ul a,
#nav ul a:hover { float:none; padding:0; background:none; }
#nav ul li a { font-weight:normal !important; }

/************ 2ND LEVEL ************/
#nav ul { position:absolute; width:190px; left:-10000px; border:1px solid #000; border-bottom:2px solid #000; }

/* Show menu */
#nav li.over > ul { left:190px; }
#nav li.over > ul li.over > ul { left:190px; }
#nav li.over ul ul { left:-10000px; }

#nav ul li a { background:#d5e4eb; width:190px; }
#nav ul li a:hover { background:#9fb5be; width:190px; }
#nav ul li a,
#nav ul li a:hover { color:#000 !important; }
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 15px;}

/************ 3RD+ LEVEL ************/
#nav ul ul { top:-2px; }
 
Magento Community Magento Community
Magento Community
Magento Community
 
Adam Moss
Sr. Member
 
Avatar
Total Posts:  248
Joined:  2009-02-11
Birmingham, UK
 

Nevermind guys, I fixed it!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top