How do I change the colour of heading on regular pages using Dawn theme?

SweatFree
Shopify Partner
3 0 0

Hi, how do I change the colour of headings on the regular pages, like the Privacy policy page, Shipping page or other simple pages. The heading colour always remains black. Also, how do I change the colour of text on the login page?

Chanakya Ramdev
Founder | Sweat Free Apparel (www.sweatfree.co)
Engineering | University of Waterloo

https://www.SweatFree.co
Reply 1 (1)

TerenceKEANE
Shopify Partner
363 69 59

Hi,

If it's the website in your signature, then this can be done. Since the H1 tag is used throughout the website, including on product pages, the code below will change the colors of all H1 tags except on product pages.

The following code will do what you want. You can change the values as you like. If you encounter any issues again, feel free to write, I'll help.

 

Navigate to the 'Edit Code' option in your theme settings, then search for "base.css" in the search bar and add below code.

 

shopify.base.css.jpg

 

div:not(.product__title) > h1{
	    
	    color: purple!important;
}

 

Terence

Our Website --- Looking for Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 month!
★ If I helped you, Please don't forget to Like and Mark Solution to the post that helped you.
If my support was a lifeline for you, The COFFEE   would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> info@novajetsoft.com | Software Engineer - Specializing In Advanced E-Commerce Websites