H2 Tag

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 14 replies, has 4 voices, and was last updated by  Thakksy 9 months, 1 week ago.

  • Author
    Posts
  • #13375

    Thakksy
    Member
    Post count: 322

    How to overwrite the h2 tag? I’ve tried using !important in custom css but doesn’t work.

    https://goo.gl/photos/zkuVBi4BKDPMUUWE6

  • #13384

    Jacob
    Staff
    Post count: 2339

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13396

    Thakksy
    Member
    Post count: 322

    Doesn’t work. I want to change the h2 font to Avalon,sans-serif but the Typography options is using Arial and is overwriting it. I’ve tried the following along with !important.

    html h2 {
    font-family: Avalon,sans-serif;
    }

  • #13438

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13466

    Thakksy
    Member
    Post count: 322

    Just for h2 tags within a post. I think it’s: .post .entry-content h2

  • #13478

    Thakksy
    Member
    Post count: 322

    You guys must be on a long holiday! 😉

  • #13481

    Erick
    Member
    Post count: 1022

    Use

    
    .single h2 {
    Bla Bla Bla 
    } 
  • #13485

    Thakksy
    Member
    Post count: 322

    Cheers Erick but still no luck 🙁

  • #13486

    Erick
    Member
    Post count: 1022

    Mmm. The must be something wrong in your css code. Have you checked your whole document?

  • #13489

    Jacob
    Staff
    Post count: 2339

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13506

    Thakksy
    Member
    Post count: 322

    It worked but the font doesn’t and that’s the reason for doing this.

    .single .main-hentry .entry-content h2 {
    font-family: Avalon,sans-serif;
    color: rebeccapurple;
    }

  • #13514

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13516

    Thakksy
    Member
    Post count: 322

    The Avalon font works for the h1 post header without doing any kind of import.

  • #13521

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #13542

    Thakksy
    Member
    Post count: 322

    I decided to forget this and choose a google font already on the theme. Too complicated, thanks anyway fellas.

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!