Jump to content
pehja

Transparent navbar

Recommended Posts

pehja

Hi!

 

I have a picture as a background and don´t want the navbar to have any collors exept the text.

i managed to get this by looking at the code on the site.

 

 
#page .main-nav li a:hover, #page .main-nav .current-menu-ancestor .current_page_item a, #page .main-nav li.current-menu-ancestor ul a:hover, #page .main-nav .current-page-ancestor .current_page_item a, #page .main-nav li.current-page-ancestor ul a:hover {
background: transparent;
}
 
But I still have ha background collor on the page implicating the page I am on. I have been looking a few ours now and I don't seem to be able to target the right CSS.
 
Anyone who can help
 
 

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
mstmarie1
ul.menu-main-nav{background-color:#fff;}
 

Share this post


Link to post
Share on other sites
pehja

Thanks, but this didn't help. I don´t want anything to happen regarding colors except the text.


Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
pehja

Found it

 

.main-nav li a:hover, .main-nav li.current_page_item > a, .main-nav li.current-page-ancestor > a {
background-color: Transparent;
}

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

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


×