Jump to content
Sign in to follow this  
jatb

Custom Code help!

Recommended Posts

jatb

Now that I have created a custom menu for my primary nav bar, what code do I use to change the font size and color for it?

Share this post


Link to post
Share on other sites
Kate

Hi Frank - Do you have a link to the site? Or is it local? Something like this should work:

#menu-nav{font-size:1.3em; /* or whatever size you want*/}
	#menu-nav a{color:#000000; /*or whatever color you want*/}
	#menu-nav a:hover{color:#dddddd; /*or whatever color you want*/}

Share this post


Link to post
Share on other sites
jatb

The fonts size I want to change is what is in the top--under the header.

Share this post


Link to post
Share on other sites
Andrew

Kate had the idea down, I think the selector was wrong... try this... ` .main-nav{font-size:1.3em; /* or whatever size you want*/} .main-nav a{color:#000000; /*or whatever color you want*/} .main-nav a:hover{color:#dddddd; /*or whatever color you want*/} ` Also, are you using firebug? It can help you find these :)

Share this post


Link to post
Share on other sites
jatb

Thanks, Andrew: The FONT SIZE worked! BUT, neither of the other two did anything. Here is how I have it: .main-nav{font-size:20px} .main-nav a{color: #006699} .main-nav a:hover{color:#006697} I have no idea what firebug is, but I will look into it :-)

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  

×