Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #225856
    Benjo3
    Participant

    Hey,

    I ve tried to change the font size of headings like <h1> and <h2>. I tried to change it in stlye.ccs for each heading but it did not work. Neither did the following code snippet in CSS Customer work:

    #site-title {
    font-size: 3rem;
    }

    My website: http://www.wasseraktien.net

    Could someone help me here?

    Regards,
    Ben

    #225900
    Skandha
    Participant

    @benjo3: Hello Ben,
    First of all I suggest you not to edit style.css directly. If you have to add or override any CSS Code use the Additional CSS section in the customizer.

    To change the font size of <h1> tags
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    h1 {
        font-size: 34px !important;
    }

    Likewise you can change the font size for other heading tags.
    Let me know if this works out!
    Kind Regards,
    Skandha

    #225958
    Benjo3
    Participant

    MAny thanks! It works!

    Regards,
    Ben

    #226032
    Skandha
    Participant

    @benjo3: Hello Ben, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/catch-responsive/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
    appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

    #226098
    Benjo3
    Participant

    Hey,

    of course I do that!

    Many thanks for your help!

    Regards,

    Ben

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Can not change font size of heading’ is closed to new replies.