Blog H2 Colour

Solved
SarahTinySteps
Excursionist
24 0 4

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

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4151 950 1158

This is an accepted solution.

You didnt try to add some color on the h2?

Like this. 

Made4uoRibe_0-1699260643281.png

If it doesnt work add the !important.

Made4uoRibe_1-1699260693883.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 4 (4)
Made4uo-Ribe
Shopify Partner
4151 950 1158

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;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1699224350417.png
  • Note: You can change the color you want. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


SarahTinySteps
Excursionist
24 0 4

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?Capture.JPG

Made4uo-Ribe
Shopify Partner
4151 950 1158

This is an accepted solution.

You didnt try to add some color on the h2?

Like this. 

Made4uoRibe_0-1699260643281.png

If it doesnt work add the !important.

Made4uoRibe_1-1699260693883.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


SarahTinySteps
Excursionist
24 0 4

Worked perfectly! Thank you sooooo much.