Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17065

    Hello,

    I recently went live with a site using Choices. It looks great & I’ve had great support while building it.

    After using SEO tools to double check some things, there’s an issue with too many H1 tags on the homepage (possibly on other pages, too, haven’t checked those.)

    It looks like the logo is marked as an H1, as is the slider.

    How/where can I edit the code so that only the titles I manually mark as <h1></h1> are such?

    Thank you,

    Syl

    #94062

    Hi Syl,

    For the logo, you can remove the h1 and change it to a plain div. You’ll need to open framework>php>function-set-avia-frontend.php and then search for:

    $logo = "<h1 class='logo'><a href='".home_url('/')."'>".$logo."</a></h1>";

    Change it to:

    $logo = "<div class='logo'><a href='".home_url('/')."'>".$logo."</a></div>";

    I don’t see the slider in an h1 element but any others you want to change from h1 will need to be changed likewise.

    Regards,

    Devin

    #94063

    Hello, thank you for the fix. It worked. ~Syl

    #94064

    Hey,

    Good thing it is fixed.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Too Many H1s on homepage – Choices Theme’ is closed to new replies.