Archived topic
CSS Not Working
3 replies · Started by Kelsey on March 27, 2022
Hi,
I'm trying to change the font for all headlines on this page:
https://thegoldenlamb.com/rankiq/
I entered this CSS in my custom CSS but it's not changing anything.
.postid-5914 h1, .postid-5914 h2, .postid-5914 h3, .postid-5914 h4{
font-family: arial;
font-weight: bold
}
I've also tried a hard refresh as well as opening tab in an incognito window.
Hi Kelsey,
The CSS selector in your CSS code needs a minor correction. The usual syntax for pages is .page-id-123, with 123 being the ID. Try this instead:
.page-id-5914 h1, .page-id-5914 h2, .page-id-5914 h3, .page-id-5914 h4{
font-family: arial;
font-weight: bold
}
Hope this helps. :)
Beautiful. Thank you!
You’re welcome Kelsey! Glad to be of assistance! Feel free to reach out anytime if you’ll need assistance with anything else. :)