Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I run an seo plugin analizer and gave me as critical to fix an empty h1 tag on my home page. I have no knowledge of coding, and I don't want to mess up. I need help to find exactly where is the tag and how to fix the code so it doesn't show empty. Thank you in advance!
Solved! Go to the solution
This is an accepted solution.
hi @Frimunt1,
1. Go to Online Store->Theme->Edit code
2. Sections->header.liquid
Search in this file "logo"
go to header.liquid file and add <h1> tag to logo.
Hello @Frimunt1,
In almost each homepage section, you have the ability to assign (H1, H2 or H3) tag to the section header, you can for instance use the rich text section to give its header the H1 tag.
You can even add custom HTML under section custom content: Custom Html. I use this for an H1 and a H2 tag with words.
<h1 style="text-align#FF0000;">heading here</h1>
<h2 style="text-align#0069D2;">your heading</h2>
let me know if you have any additional question!
You can make it as h1 from h2....
On which theme you are working with ?
On which theme you are working with ?
This is an accepted solution.
hi @Frimunt1,
1. Go to Online Store->Theme->Edit code
2. Sections->header.liquid
Search in this file "logo"
go to header.liquid file and add <h1> tag to logo.
Hi @oscprofessional,
Already I followed your directions and I found the right code part but. I'm not sure, where should I be exactly where to paste the code? That is why I added a screenshot of what is it and I marked some places on the screenshot.
Could you have look please because I am not a developer and not feeling more confident about that?
Thanks.
User | RANK |
---|---|
43 | |
33 | |
31 | |
11 | |
11 |