Hi there,
I’m very happy with the theme you made, but i’ve got an issue. I have a static page with a blog area, but the titles of my blogs (using loop.php) are in H1. I want this in H2 for seo purposes. Already tried to change “article.post .entry-header h1.entry-title” in the style.css to h2, but didn’t seem to work.
Do you guys have a solution?
Hi EHerkenning Expert
Thanks for reaching out.
CSS targets HTML that exists on the page/in the template file. CSS needs something to target. You’re right, the CSS will need to change but the HTML heading tag will need to be changed first.
Try the following child theme: https://github.com/siteorigin/vantage-child/tree/feature/loop-h2-tags. There is a download ZIP button in the right column. Try installing the ZIP from Appearance > Themes > Add New: Upload Theme. Activating a child theme will cause Customizer and Menu settings to reset. Test the child theme out before redoing those.
Let us know how you come along.
Thank you for your answer. Installed the child theme and added this code:
Still doesn’t work, the child theme is active now.
Sorry for not mentioning that. I’ve already added, what should be the necessary CSS to the style.css file in the child theme. Although I might have missed the link selector so you could add that. Just remove one, use either the CSS in style.css of the child theme OR Custom CSS.
Please could you send through a set of temporary login details and we’ll take a look at the child theme issue. Instructions below. Thanks.
//
Would it be possible for you to create a temporary admin account for us so we can log in and take a look? You can create the account with the following email address:
[email protected]
Just navigate to Users > Add New in your WordPress admin. Enter siteorigin for the username and [email protected] for the email address. Make sure you’ve selected Administrator for the role and enabled the “Send Password” field so we receive the details.
Once we’re finished taking a look, you can delete this account. We’ll let you know when to do that.
This is a private message.
I’ve sent you the details. Thanks in advance.
Sorry about that! I hadn’t pushed my local changes. Please see:
https://github.com/siteorigin/vantage-child/tree/feature/loop-h2-tags
If you’d like you can use FTP to upload the content.php file to your child theme. If you know how to do that it would be the fastest.
Thanks Andrew, it’s now h2. Looks a little bit like it’s streched out, but I’m happy with the results!
Super, glad we made progress there.
Stretched out? Let me know what you mean. I’m sure we can adjust the CSS to compensate.
It’s ok now, you can mark this topic as resolved. After I emptied the caches everything was ok. Thank you for your time and your help!
Super, glad we could help.
All the best.