[Resolved] CSS Not Working

Home Forums Support [Resolved] CSS Not Working

Home Forums Support CSS Not Working

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by Fernando.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2169156
    Kelsey

    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.

    #2169226
    Fernando
    Customer Support

    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. 🙂

    #2170010
    Kelsey

    Beautiful. Thank you!

    #2170509
    Fernando
    Customer Support

    You’re welcome Kelsey! Glad to be of assistance! Feel free to reach out anytime if you’ll need assistance with anything else. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.