Support » Fixing WordPress » How to change size of H1 text?

  • Hi, trying to change my H1 text size in CSS but not having much luck. I want it changing so it changes all the h1 headings posts. I have tried changing the font size with no luck. Thanks guys!
    h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1em;
    font-family:Helvetica;
    font-weight:normal;
    }
    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight:normal;
    }
    h1 {
    font-size: 35px;
    }
    h2 {
    font-size: 30px;
    }
    h3 {
    font-size: 24px;
    }
    h4 {
    font-size: 18px;
    }
    h5 {
    font-size: 14px;
    }
    h6 {
    font-size: 12px;
    }
    h1 .subTitle, h2 .subTitle, h3 .subTitle, h4 .subTitle, h5 .subTitle, h6 .subTitle {
    display: block;
    color: #999;
    font-size: 0.65em;
    margin: 0;

    Site http://www.dubaixats.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • You don’t seem to have any h1 tags on your pages — perhaps that’s the problem? Try using Firebug to look at the elements you want to change — it shows you which CSS code is relevant and thus what you need to change.

    The post headings (if that’s what you are trying to change) are styled here:

    .cat_article_title {
        background: none repeat scroll 0 0 #F8F8F8;
        border-bottom: 1px solid #EBEBEB;
        color: #40454D;
        font-size: 17px;
        font-weight: bold;
        margin: 0 -20px;
        padding: 15px 20px 14px;
    }

    Beyond that, since you’re using a commercial theme, you’ll need to get help from the vendor.

    Having the same issue here. I followed your advice WPyogi and couldn’t find that on my style sheet. It’s a mystery. MY H1 tags are bloody huge and I need them changed! My site is: http://www.deepfryerreviews.net. Would appreciate any help 🙂

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Create your own thread if you want support on your own issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change size of H1 text?’ is closed to new replies.