WordPress.org

Ready to get started?Download WordPress

Forums

Changing the H1 Size (4 posts)

  1. bloggingguy
    Member
    Posted 11 months ago #

    Hello,

    I am trying to reduce the size of my H1 tage. I went into my stylesheet and found this. when I changed the font-size to 12 and saved nothing happened. The size stayed the same.

    }
    .title h1, .title h2{
    font-size: 22px;
    font-weight: normal;
    padding-left: 32px;
    background: url(img/title-img.png) no-repeat top left;
    }

    Any ideas? Thanks.

  2. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    Did you clear your site and browser caches?

    What theme are you using? No way to help without seeing your site.

  3. bloggingguy
    Member
    Posted 11 months ago #

    Caches are cleared.

    The site has some NSFW content, so don't want to post it here. I could send it to you though.

  4. Robin W
    Member
    Posted 11 months ago #

    Theme authors create styles for different areas

    Your code would change the size for area within your site that your theme author has called "title" hence .title h1 etc.

    Look for all instance of "h1" in the style sheet each style will start with a full stop/period. You may find one called for instance .content h1 which would change what you want.

    Alternately if you use chrome as your browser, you can select "customise" - the bars at the top right, tools, developer tools, and have a play, if you right click the text you want to change, you can inspect element and see what style it is using.

    You can also do this with firefox, but need to install firebug as well

Reply

You must log in to post.

About this Topic

Tags