WordPress.org

Ready to get started?Download WordPress

Forums

Formatting site-title in Hybrid child consistently (2 posts)

  1. royalsociety
    Member
    Posted 3 years ago #

    How can I remove the h1 tag on the site-title front page? I would like to style the site-title consistently on all screens but it has an h1 tag on the front page and not the others.

    Front page;

    <div id="header-container">
    <div id="header">
    <h1 id="site-title"><span>Royal Society Blogs</span></h1>
    <h2 id="site-description"><span>Celebrate 350 years</span></h2>
    </div><!-- #header -->
    </div><!-- #header-container -->

    Secondary pages:

    `<div id="header-container">
    <div id="header">
    <div id="site-title"><a href="http://blogs.royalsociety.org" title="Royal Society Blogs" rel="home"><span>Royal Society Blogs</span></a></div>
    <div id="site-description"><span>Celebrate 350 years</span></div>
    </div><!-- #header -->
    </div><!-- #header-container -->

    Alex

  2. Alex,

    Sorry, not enough coffee yet so I want to make sure.

    For your Hybrid child theme you want to always display "Royal Society Blogs" always and no "Royal Society Blogs: Page 2"?

    Edit: *sips more coffee* Sorry, you want no h1 tags on subsequent pages at all?

Topic Closed

This topic has been closed to new replies.

About this Topic