Problems with H1 and H2 tags and how to fix

This topic has 12 replies, 3 voices, and was last updated 2 months ago ago by Luca Rossi

  • Avatar: filiphdan
    filiphdan
    Participant
    March 17, 2025 at 13:46

    Hello,

    I am trying to solve all the problems i am having from several Seo reports, i will start with the headers in home page, i send a printscreen: https://prnt.sc/FXe6sJskcTiq

    H1 should have a description of the website primary keyword, and at the moment it got the name of the site witch is not ideal, how do i change it?

    H2 has too many tags, i dont even know why but i would like to solve this, its has more than 30 tags and it should have less than 10…

    Thank you!

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 17, 2025 at 15:29

    Hello,

    Thank you for reaching out to us.

    To edit the page content, please use your editor and update the tags accordingly.

    Best Regards,
    8Theme’s Team

    Avatar: filiphdan
    filiphdan
    Participant
    March 17, 2025 at 15:33

    I am sory rose but i dont know were i can fix these tags…
    Were can i change the H1 header that currently has (Jardimdapini) on it? And how can i remove/change all those H2 tags and change to the ones i want?

    Thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 17, 2025 at 16:15

    Hello,

    Pages > edit page > find Jardimdapini and edit. We can’t provide you with an example because someone is working on the page right now – https://prnt.sc/Zay4I0-Ukn46

    To remove or change the H2 tags and replace them with the ones you prefer, you may need to edit the page content directly. This can typically be done through the page editor. If you are using a page builder, you should be able to adjust the heading tags within the content blocks.

    Best Regards,
    8Theme’s Team

    Avatar: filiphdan
    filiphdan
    Participant
    March 17, 2025 at 19:11

    Hello,

    I dont know why that happened, nobody was translating…Anyway, i managed to figure out how to change headers, now i have just one problem, why are the products i have set up has new products are apearing in H2 tags? On the main page below ‘novidades’ you can see here: https://prnt.sc/vaQOl8ZxgfJ8

    How do i do to not show them has H2?

    Avatar: Justin
    Luca Rossi
    Support staff
    March 19, 2025 at 06:25

    Hi @filiphdan,

    Please add the following code under functions.php file locates in your child theme:

    
    add_filter('et_option_product_title_tag', 'et_option_product_title_tag', 999);
    function et_option_product_title_tag(){
        return 'h4';
    }
    

    Hope it helps!

    Avatar: filiphdan
    filiphdan
    Participant
    March 19, 2025 at 13:47

    Hello,

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 19, 2025 at 14:53

    Dear @filiphdan,

    You can include a span tag inside the h1 element as follows:

    
    <h1>Jardim da Pini <span class="hide">cactos e suculentas</span></h1>
    

    We hope this helps!

    Best regards,
    8Theme Team

    Avatar: filiphdan
    filiphdan
    Participant
    March 19, 2025 at 16:12

    Thanks, i am sory for the next question because i probably should know this, but were should i place this code you sended?

    Avatar: Justin
    Luca Rossi
    Support staff
    March 20, 2025 at 08:18

    Dear @filiphdan,

    Please edit your home page and switch the Text block to editor mode:

    (https://prnt.sc/DYrrMfjwnxDD)

    Please replace the following code:

     
    <h1>Jardim da Pini</h1> 
    

    With:

      
    <h1>Jardim da Pini <span class="hide">cactos e suculentas</span></h1>
    
    

    We hope this helps!

    Best regards,
    8Theme Team

    Avatar: filiphdan
    filiphdan
    Participant
    March 21, 2025 at 10:48

    Thank you, i understood what to do, i can aply to other parts if nedeed 🙂

    Avatar: Justin
    Luca Rossi
    Support staff
    March 21, 2025 at 13:04

    Hi @filiphdan,

    You’re most welcome! Wishing you a wonderful day ahead.

    We hope our theme is elevating your experience. If you could take a moment to leave us a glowing 5-star review on ThemeForest, it would mean the world to us. Your feedback is incredibly important and helps us continue to improve.

    You can rate us here: https://themeforest.net/downloads

    Should you have any other questions or require assistance, please don’t hesitate to contact us. Our dedicated support team is always here to help.

    Best regards,
    8Theme’s Team

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Problems with H1 and H2 tags and how to fix’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.