H2 Tag

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

Status: resolved
  • This topic has 14 replies, 4 voices, and was last updated 4 y, 7 mo by  Thakksy.
Viewing 14 reply threads
  • Author
    Posts
    • #13375

      Thakksy
      Member

      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

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

      Login | Register | Forgot Password?

    • #13396

      Thakksy
      Member

      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

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

      Login | Register | Forgot Password?

    • #13466

      Thakksy
      Member

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

    • #13478

      Thakksy
      Member

      You guys must be on a long holiday! 😉

    • #13481

      Erick
      Member

      Use

      
      .single h2 {
      Bla Bla Bla 
      } 
    • #13485

      Thakksy
      Member

      Cheers Erick but still no luck 🙁

    • #13486

      Erick
      Member

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

    • #13489

      Jacob
      Staff

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

      Login | Register | Forgot Password?

    • #13506

      Thakksy
      Member

      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

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

      Login | Register | Forgot Password?

    • #13516

      Thakksy
      Member

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

    • #13521

      Max
      Staff

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

      Login | Register | Forgot Password?

    • #13542

      Thakksy
      Member

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

Viewing 14 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.