CSS Twenty Twelve: change font of header and main menu
-
Hi
primoviews.org
I would like to change the font in the header and the main menu to look like manuschwendener.ch, but when I copy the CSS that’s not enough (it’s another theme).
Thank you for helpingThe blog I need help with is: (visible only to logged in users)
-
Hey there, the CSS won’t be the same between different themes, because the HTML will be different. If you want to try to find the right selector, you could use inspect element to troubleshoot:
https://wordpress.com/support/custom-design/how-to-find-your-themes-css/That said, could I recommend using one of our newer themes instead, since those give you greater control over the fonts? You could use the editor to get a look that similar to Twenty Twelve too, if you’d like.
Here’s a primer on using the site editor:
https://wordpress.com/support/full-site-editing/ -
Hi supernovia
I found the solution for the navigation here https://wordpress.com/forums/topic/twenty-twelve-changes
.main-navigation li a,
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
color: #006E6E;
font-size: 120% !important;
}
Kind regards
Manu -
-
So all I need now is the CSS to change the font of the title.
Solution via chat:
.site-header h1 a {
color: #006E6E;
font-size: 120%;
font-weight: 400;
}
- The topic ‘CSS Twenty Twelve: change font of header and main menu’ is closed to new replies.