Thread Starter
qnmai
(@qnmai)
Also, using another font i’ve installed, i’ve succeeded in changing fonts for h1, h2, etc and the welcome button like this:
h1 {
font-family: 'oswaldlight'
}
.welcome-button {
font-family:'oswaldregular'
}
However, this doesn’t work to change the navigation menu font:
.main-navigation {
font-family:'oswaldregular'
}
nor
.menu-item {
font-family:'oswaldregular'
}
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Have you tried using more specific selectors?
Thread Starter
qnmai
(@qnmai)
I’ve also tried with the item numbers:
.menu-item-246 {
font-family:'oswaldregular'
}
Any other suggestions?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
If you’re not using a Child Theme, and if the theme doesn’t have a designated section of the dashboard for CSS modifications then install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin
Then use its “CSS Code” section of the dashboard to hold your CSS modifications:
Alternatively use your Child Theme style.css file to hold your CSS modifications:
.main-navigation li {
font-family: 'oswaldregular';
}
Thread Starter
qnmai
(@qnmai)
That worked. I put in my child theme styles.css.
The question still remains, however, as to what google font Moesia uses originally.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Thread Starter
qnmai
(@qnmai)
Right again. Okay, i’m marking this as resolved.