[Resolved] Change the H1 Tag font size for any page

Home Forums Support Change the H1 Tag font size for any page

This topic contains 3 replies, has 2 voices, and was last updated by  Leo 2 months ago.

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

    daniel

    I would like to change the H1 font size for my home page. And sometimes I will neeed to do the same for other pages.

    Sometimes I also want to move the H1 tag to the middle or the right hand side.

    Where can I find the CSS code to alter for individual pages?

    Or is it a case of a global CSS file which applies to the whole website?

    #1210083

    Leo Customer Support

    Hi there,

    The global setting would be in Customizer > Typography > Headings > Heading 1 (H1).

    If you need to change it for an individual page, then we would need to use CSS and target specific pages:

    body.page-id-xxx h1.entry-title {
        font-size: 20px;
        text-align: center;
    }

    Just replace xxx with the actual id of the page you are targetting.

    Let me know if this helps 🙂

    #1211556

    daniel

    Thanks Leo appreciate that

    #1212121

    Leo Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.