CSS code for font color change in menu bar
-
Hello,
Could anyone help me with the CSS code to change the colour of the font on my menu bar in Twenty Twelve. The base colour I would like is: #542437 and hover link colour: #a8caba
I have successfully changed the font colour of the site tagline and aligned it right.
The blog I need help with is: (visible only to logged in users)
-
It looks like you were able to make those color changes. Is there anything else you needed?
-
Hello,
Thank you – yes I found the code on another person’s query.
How do I center the text in the navigation bar (it looks as if it is aligned left at the moment).
-
Hi,
Add this to your CSS to center the menu items:
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { text-align: center; }Hope that helps.
-
-
Sorry – I am just adding links in the main body text on the home page and I would like the color and hover color of them to be the same as menu/header colors. What is the CSS code for this? I have tried a couple of things that haven’t worked!
-
- The topic ‘CSS code for font color change in menu bar’ is closed to new replies.