h1 heading missing from front page
-
Mod
Use the Graphene header widget to add an
<h1>
element, and then use CSS to hide it withdisplay:none;
Keep in mind that some consider this to be black hat practice, and it may actually penalize your SEO. It’s best to have some kind of content on your front page.
Assalam Mualaikum, a little way I do on the front page of my site, you can change text_color in header.php into your stylesheet.css transparent and also change the text a transparent color for the title and the description, you need to remember the position of the header text in wp admin still shows, this silly little way from me but hopefully it can help, and apologize if there are shortcomings, Salam.
Thanks for your reply Kenneth and Salam. Yes I have thought of doing similar things to what you are both suggesting but I live in fear of being penalized by the Search Engines.
It’s a shame the theme doesn’t take care of it in some way. It sort of defeats the purpose of having a custom header.
Thanks again for your suggestions.
Mango.
Enable header title and description to show over the header image. Then hide it using the below Custom CSS. The H1 title will still be in the source, but it can not be visible to people. Google Bot can still see the H1 tag on your homepage.
.header_title, .header_desc {
display: none !important;
}Quote:Interestingly I tried adding it instead to style.css on the Child Theme but that didn’t work for some reason.If you’re using any caching plugin, you need to flush cache after adding the above code to child-theme style.css. You need to clear your browser cache as well. Hit Ctrl+F5 to clear browser cache.
Marking thread as resolved. You can do this yourself as well.
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.