WordPress.org

Ready to get started?Download WordPress

Forums

Theme Swift H1 Duplicate (6 posts)

  1. rodol
    Member
    Posted 1 year ago #

    I am not sure if this is a Swift problem, but i have a blog where my front page is a static page, and i have some post, but the issue is that, in the source code there is this H1 tag: <hgroup class="alignleft">
    <h1 id="site-title"></h1>
    <h2 id="site-description"></h2>
    </hgroup>

    I want to remove that H1 tag and i cant find where is it.
    Because of this i am having duplicates H1 tags, and i have to hide my Page title because of this.

    that code is making my blog title to be a H1 tag and also a anchor text to my site.

    And also for my posts if i check the source code the title goes like this: "blog post | Page title"

    any thoughts?

  2. NewtonPlease
    Member
    Posted 1 year ago #

    Can you give me a link to the issue?

  3. rodol
    Member
    Posted 1 year ago #

    how i can send you a private msg

  4. NewtonPlease
    Member
    Posted 1 year ago #

    You could add this to your CSS file:

    #site-title {display:none;}

  5. rodol
    Member
    Posted 1 year ago #

    nothing happened

  6. NewtonPlease
    Member
    Posted 1 year ago #

    Hmm, that works for me. Maybe try:

    #site-title {display:none !important;}

Topic Closed

This topic has been closed to new replies.

About this Topic