• Hello there,

    Is anyone familiar with the distinction between

    <h1 class =“entry-title> </h1> and <h1> ” ” </h1>

    are they the same?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    One allows you to apply CSS to that specific instance of the <h1>. Otherwise, no difference.

    Thread Starter jwwhitley09

    (@jwwhitley09)

    Hello there,

    Thank you I appreciate the response!

    I should have been more specific.

    On this site http://brandsentrik.com/ the author made the entry title equal to the H1. So on the homepage, “Home” is the H1.

    I guess I’m looking for the code to change the entry titles from being associated with H1

    This CSS only takes away the word.

    .hidetitle .entry-title {
    display:none;
    }

    Help would be much appreciated.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You can’t use CSS to unassociate an <h1> with <h1 class="xxx">Text</h1>. What is it you want to accomplish? Hide it? Change its styling? What does this have to do with your SEO question?

    Thread Starter jwwhitley09

    (@jwwhitley09)

    Thanks for the response.

    I’m looking to unnassociate the <h1> from the entry title but it “came with the theme”

    In another words, If the title of my page is “Contact Us” It will follow as:

    <h1 class = “entry-title”> Contact US </h1>

    But say I don’t want contact us to be the H1… How do I unassociated it?

    This pic might help https://prnt.sc/guaav2

    Thanks!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you don’t want it to be an <h1> tag, then you need to edit the template of your theme that adds the tags. If so, be sure to work in a child theme.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘SEO question – title tag’ is closed to new replies.