Jump to content
Sign in to follow this  
MusicGal

Solid Background on Secondary Navigation/Dropdown

Recommended Posts

MusicGal

I currently have a transparent background on my navigation (which I want to keep) but am wondering what CSS code I can put in so that my Secondary Navigation/DropDown menu has a solid background?

Share this post


Link to post
Share on other sites
Kate

Hi Alaina, Two things: First, in you custom CSS, make sure you fix this line:

.sf-menu li, #primary-nav ul.sf-menu a:focus {background:transparent!important;}, .sf-menu a:hover, .sf-menu a:active
You'll need to remove (or finish) ".sf-menu a:hover, .sf-menu a:active", otherwise no styles after that will be applied, as there is no start or end bracket. Second, you can use this code to change the background:
#nav_row ul.children{background:#dddddd !important;}

Obviously you'll want to change the color to the one you desire.

Share this post


Link to post
Share on other sites
MusicGal

That fixed it perfectly. Thank you thank you. I'm still getting used to the world of css and html.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×