Tagged: Fonts
I tried to override the font for a specific page by using css.
The page in question is https://www.kaurispirit.com/dkb/
I uploaded a custom font and used this css in QuickCSS:
.post-entry-8977 {font-family:dkbeuclid,Helvetica,Arial,sans-serif !important;}
This does not seem to work the CSS seems to be overwritten by more specific selectors.
What can I do to easily change the Font for a complete page?
Hey Thaler,
You will likely have to use more specific selectors, like this:
.post-entry-8977 strong {
font-family:dkbeuclid,Helvetica,Arial,sans-serif !important;
}
Best regards,
Rikard
try:
#top .post-entry.post-entry-8977 * {
font-family: "dkbeuclid", Helvetica, Arial, sans-serif !important;
}
the other sections – and footer etc are untouched on that rule – otherwise take #top.page-id-8977
Thank you very much – that did the trick!
Hi,
Great, I’m glad that @guenni007 could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard