Multiple H1 Headings

QuestionsCategory: QuestionsMultiple H1 Headings
corey hudson asked 5 years ago

My site audits keep telling me my pages and blog posts have multiple h1 headings. I need to fix this asap. It was not like this with my previous theme. I have Hello gorgeous. Is there one in the theme settings I can change? Maybe ah1 heading in the sidebar? I checked the style sheet and nothing jumped out at me and I don’t want to mess with the code.

1 Answers
Jennifer Staff answered 5 years ago

It is most likely that your previous theme was not SEO optimized.  What that multiple H1 headings means is you are using it more than once in your post or page.  It is not a code issue.  You would want to go into your editor and change your headings to the appropriate H-tag on those post and pages.  If it is a main topic and not a sub topic, keep the H1.  If it is a subtopic assign the correct h2, h3 and so on based on which is appropriate.

corey hudson replied 5 years ago

Ok so here is the code from one of my sidebar widgets. It says h1 in it. If I change it to an h2 by typing h2 instead of h1 will it make it so my site dosn't have multiple h1s come up??? Hope that makes sense…
<blockquote><div class="boxes">
<div class="title" style="text-align: center;">welcome</div>
<h1 class="h1tagline" style="text-align: center;">Follow Me on Pinterest</h1>
<div class="pdescription" style="text-align: center;">Find more inspiration and posts!</div>
<a class="button" href="https://www.pinterest.com/hudsonfarmhouse&quot; target="_blank">Follow</a></blockquote>

Jennifer Staff replied 5 years ago

Yes, you can change that to an H2, or any of the header styles you would like.

Jennifer Staff replied 5 years ago

I’m not sure if that will fix the issue, but it will remove an H1 from that particular page/spot. You would have to look at each page that is throwing an error and see where the H1 has been added.

corey hudson replied 5 years ago

So I took the h1 out of my sidebar widget and took out the h1 word welcome on my homepage and its all fixed. It was mostly the one title in the sidebar. The theme is set up to have all titles in the sidebar to be a h1. Thanks for your help!!! But unfortunately, the font is still not working for me. I change line 104 like you said and it didn’t change…

Jennifer Staff replied 5 years ago

Is this for the body font size? If so, that is the spot to change it. It could be your hosting cache, browser cache, both, or possibly the style sheet minimizer you are using is not picking up on the changes. Would try clearing all three.

For the titles in the sidebar, if they are a widget title, they will always default to an h4. The only time they would be an h1 is if manually placed.