Home Forums WoodMart support forum Change h1 tag to p

Change h1 tag to p

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #450645

    xavi-1897
    Participant

    Hello,

    I need to change the title of the woocommerce archive page (the title with the name of the category) from an h1 to a p, can you tell me where is the file I need to touch?

    Thank you so much,

    #450720

    Hi,

    You can find the file under “WoodMart/woocommerce/content-product_cat.php” and customize at your own risk.

    Best Regards.

    #450755

    xavi-1897
    Participant

    Hello,

    I am sorry but in the file you indicated I can’t find it. I attach a screenshot showing in red which title I want to change the html markup.

    Thank you,

    Attachments:
    You must be logged in to view attached files.
    #450918

    Hello,

    Did you once try checking the Dashboard > Theme Settings > Page Title > SEO > Title tag dropdown option in this regard: https://snipboard.io/XmeMAV.jpg?

    Best Regards

    #450956

    xavi-1897
    Participant

    Hello,

    I am sorry but this is not a solution, because it changes all the titles to a p (including pages, blog…). I only need to change the archive title, the rest of the pages I need to have the default html tags.

    Thank you,

    #451131

    Hello,

    You can check out the following Theme files locations:

    wp-content/themes/woodmart/inc/modules/layouts/elementor/shop-archive/class-woocommerce-title.php

    wp-content/themes/woodmart/inc/modules/layouts/wpb/shortcodes/shop-archive/woocommerce.php

    wp-content/themes/woodmart/inc/template-tags/template-tags.php

    In these above two Theme file locations are for the Custom Layouts and the last one is the general one.

    In these files you can search for the following class “entry-title title” > and you can change the Tag h1 defined on it to your choice one.

    Best Regards

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