Hi Guys
I didn’t manage to get a response so I’m posting this again in the hope someone can help. I would like to change the Font Colour for my H2 Titles in my Blog posts (only) and wondered if someone could share some code for me to do this please?
Here is an example of a blog post
https://tinystepskids.co.uk/blogs/newborn-baby-products/wooden-safari-train-set
Thanks so much in advance!
Best
S
1 Like
Hi @SarahTinySteps
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
article.article h2 {
color: red !important;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi there
Thanks so much for taking time to help. That didn’t work unfortunately. We are using the Impulse theme and under assets we have the theme.css.liquid.
I have added a snippet to show you where we added it but nothing changed on the blog. You can see from the snippet I have already changed the H1, H2, H3 sizing for the Blog posts which worked fine but the colour code you provided didn’t change the H2 heading colours…
Any other ideas?
1 Like
You didnt try to add some color on the h2?
Like this.

If it doesnt work add the !important.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Worked perfectly! Thank you sooooo much.
1 Like