• Resolved redflo

    (@redflo)


    Using the HoneyBee theme, there are 2 H1 tags on all my pages :
    – One h1 for the site title
    – One h1 for the page title
    This does not please SEO.

    Could you fix this ? For example, by using a div with some style instead of a h1 tag ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, redflo

    Thanks for contacting us!

    Can you please let us know either you want to change the H1 for the page title to H2 or remove the page title from the theme?

    Thanks
    Rishabh

    Thread Starter redflo

    (@redflo)

    Hm, I guess h2 would be fine.
    h2, or div, or p, or just remove it.

    I would be OK if you let me know where (what file) is the code for this :
    <div class="page-title text-center text-white"><h1 class="text-white">My Page Title</h1></div>

    and this
    <h1 class="site-title"><a class="site-title-name" href="" >My Site Title</a>

    One way or another, I would like to avoid both being h1.

    • This reply was modified 3 years, 2 months ago by redflo.

    This code is coming from the parent theme. The file name is breadcrumbs.php. It is located in the folder inc/breadcrumbs in the theme.

    Thanks

    Thread Starter redflo

    (@redflo)

    Alright, I replaced the
    <h1 class="text-white">
    with
    <p class="text-white text-custom-header">
    And added custom CSS

    .text-custom-header{
    	font-size: 2.5rem;
    	font-weight: 700;
    }

    It seems it works for me.

    Thanks for your support.

    Glad to help you!

    If you like our Theme & Support, kindly rate us HERE.

    Thanks
    Rishabh

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple H1 tags’ is closed to new replies.