How to get rid of hidden H2

Hi, I would like to get rid of the hidden H2 containing the page title. In the page builder settings Show Default Page Heading is set to No, but that leaves me with an H2 tag that’s not needed. Is there a way to completely remove it?

Thanks.

Hi Tom! Are you using the Beaver Builder theme? If no, which theme are you using?

Let me know if this is too watered down or too technical, I am happy to elaborate: The builder can’t modify the HTML that’s outputted by your theme. We can only “touch” what shows up within a page’s content. So, we use CSS to hide the header even though the markup is still there.

Mind if I ask why you want to remove the hidden markup? I ask because there might be a simpler solution. One option would be to create a custom page template and remove the header markup from there. To do this, you will need to modify some theme code.

Hi Robby,
Thanks for your quick reply and explanation. I try to avoid hiding heading tags as Google might not like it. It could be considered a bit spammy. I use The Beaver Builder theme through a child theme. I could change it there, I guess.

Unless you have more advice, consider this question closed.

Got it. Thanks for letting us know, that’s a great point. The child theme solution should be your best bet. Let me know if you need any assistance getting that implemented. Thanks Tom!