Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #406046

    Recently I was looking for help changing the size of my H1 text size. I was told to paste the following into the Quick css field;

    h1 {
    font-size: 34px !important;
    line-height: 1.1em !important;
    margin-bottom: 14px !important;
    }

    Which I did on the general tab. This changed the H1 size everywhere on the site. I was not aware a H1 tag is used for the page title bar…it looks weird big.

    If I just want to change the H1 text size inside the content area (main and alternate) would I just paste this CSS into the quick css field on the Main Content and Alternate Content tabs?

    Thanks,
    DSM

    #406108

    Hi dsmcpherson!

    Try this instead.

    .main_content h1, .main-content h1, .alternate_content h1, .alternate-content h1 {
    font-size: 34px !important;
    line-height: 1.1em !important;
    margin-bottom: 14px !important;
    }

    Or you could use our special heading element and change the size in the shortcode options.

    Best regards,
    Elliott

    • This reply was modified 9 years, 9 months ago by Elliott.
    #406115

    Do I put this is the Quick CSS box under the General Tab?

    Thanks.

    #406228

    Hi!

    Yes, please add it to Enfold–>General Styling–>Quick CSS

    Cheers!
    Rikard

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