• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Agency: H2 CSS home page vs. Blog page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Agency: H2 CSS home page vs. Blog page

This topic is: not resolved
  • This topic has 5 replies, 3 voices, and was last updated 13 years, 3 months ago by Tony @ AlphaBlossom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 6, 2013 at 12:22 pm #18470
    Rosesilk
    Member

    Hello,

    On the home page of my site:  http://stress-free-mama.com/  you can see that I have the H2 set at 20px so that they look good in the bottom widgets area (for example: the "Seven Easy Steps to Stress Relief with Essential Oils" heading).

    This looks good.  But...

    On the blog page:  http://stress-free-mama.com/blog/  this font size is too small.  The same "7 Easy Steps..." should be 28px, but it is a H2 and is inheriting the 20px.

    I have fussed with the CSS and can't seem to separate the 2 pages so that they behave differently.

    Anyone have and ideas for me?

    Thank you in advance.  I really appreciate your help.

    Julia

    February 6, 2013 at 1:32 pm #18480
    media317
    Participant

    To change the home h2 tag, add the following to you css:

    <code>

    .home h2 {
    font-size: 20px;
    }

    </code>

    And then set you h2 back to the larger size.


    Alan Smith
    Media317

    February 6, 2013 at 1:51 pm #18485
    Rosesilk
    Member

    Hi Alan,

    Thank you for your help but unfortunately that didn't do it.  Somehow the setting on the blog page trumps the setting on the home page.  I did some more tweaking to try to get it to work but still can't figure it out.

    Any other ideas for me?

    Thank you!

    Julia

    February 6, 2013 at 2:07 pm #18487
    Tony @ AlphaBlossom
    Member

    Try:


    .home #content h2 a {
    font-size: 20px;
    }

    If that doesn't work, you can add !important after 20px (font-size: 20px !important;)

    Hope that helps.

    Tony
    AlphaBlossom


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    February 6, 2013 at 2:14 pm #18490
    Rosesilk
    Member

    Yeeaa!!  Tony that did the trick.  Thank you very much.

    Julia

    February 6, 2013 at 2:14 pm #18491
    Tony @ AlphaBlossom
    Member

    Glad to hear it, Julia!


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble