This topic has 4 replies, 3 voices, and was last updated 4 months, 3 weeks ago ago by Andrew Mitchell
So im using a custom font, just for one page, I have set the CSS to adjust the font for all H1, h2’s etc
Doesn’t matter what I do, the font won’t apply, in the inspector it picks up on line number as CSS files that doesn’t exist, i’ve cleared cache, I can get the font to apply if I adjust the CSS in inspector, but nothing changes live
Hi @finleydesign,
Please find this custom CSS:
h2, h4 {
font-family: MyriadPro-Black !important;
color:#535657 !important;
}
h1, h2, h3, h4, h5 {
font-family: 'MyriadPro-Black' !important;
}
And change to this:
body h2,
body h4 {
font-family: MyriadPro-Black !important;
color:#535657 !important;
}
body h1,
body h2,
body h3,
body h4,
body h5 {
font-family: 'MyriadPro-Black' !important;
}
Let us know how it goes!
Perfect thank you
Dear finleydesign,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘I give up, I can’t work out why a simple CSS to change font doesn’t work’' has been successfully resolved, and the topic is now closed for further responses