WordPress.org

Ready to get started?Download WordPress

Forums

twenty eleven theme h1, h2 tags don't work (6 posts)

  1. ellend5
    Member
    Posted 9 months ago #

    I am building 2 sites; one with twenty eleven theme and the other on twenty twelve. On the twenty eleven, I have the Twenty Eleven Theme Extensions plugin and I believe that bypasses building a child theme. I am happy to see you can put any CSS customizations right there.

    I CANNOT figure out where to make changes to the H1 and H2 tags. They only make the font bold; font is the same size as the regular text on the pages. Twenty twelve has different font sizes with H1 thru H6 tags.

    My question is this: What is the proper code that I can put on the theme extensions plugin to make H1 and H2 tags perform just like on the twenty twelve theme?

    thanks in advance for any advice!

  2. @mercime
    Volunteer Moderator
    Posted 9 months ago #

    Could you be more specific about the styles you want to apply to 2011's h1 and h2 tags. Point out specifically where in the theme's demo at http://twentyelevendemo.wordpress.com/

  3. ellend5
    Member
    Posted 9 months ago #

    I don't see any H1 or H2 tags on the page you sent me to... just the default tags used for post titles.

    This is a site I built with 2012 http://earningonlinesystems.org/

    Blue text is H1 and the pink text is H2

    This site http://earningonlinesystems.net is on 2011 and the very bottom text that is in bold is H1 on this theme. Same size font as paragraph text--just in bold. All I did was italicize it.

    I think this theme made no distinctions on the H tags except for H3 tags.

    Where can this be changed/what code for H1 H2? I have a theme extensions plugin where I can just add the proper code.

    thanks

  4. @mercime
    Volunteer Moderator
    Posted 9 months ago #

    I think this theme made no distinctions on the H tags except for H3 tags.

    Sorry, not quite getting what you mean. The bottom text you are referring to with h1 tag is not something the Twenty Eleven adds by default so I assume it's something you posted yourself.

    The h1 tag for the page title has a class .entry-title which has a color of #222 and you can override that by adding declaration to change the color of h1.entry-title.

  5. ellend5
    Member
    Posted 9 months ago #

    The tags don't change size until I get to H3. They are the same size!? What good is having H1, H2 tags that are the same size?

    This site is built with 2012 http://earningonlinesystems.org/

    Blue text is H1 and the pink text is H2 -- the sizes are different which is what I want to do in the 2011 theme, but can't.

    So, what is the code used in 2012 theme for H1 & H2 tags that I can put into the theme extensions plugin in 2011 theme?

  6. @mercime
    Volunteer Moderator
    Posted 9 months ago #

    @ellend5

    .entry-content h1 {
    color: // add color preference here ;
    font-size: // add font-size here ;
    }
    and/or
    .entry-content h2 {
    color: // add color preference here ;
    font-size: // add font-size here ;
    }

Reply

You must log in to post.

About this Topic