Change body font colour in content section on Dawn theme

Solved

Change body font colour in content section on Dawn theme

Lizzo333
Excursionist
28 0 6

Hi there!

I'm using Dawn theme.

 

My URL is https://www.outerlayer.com.au/ and password to access is xxxx

 

I was to change the font colour of the body text in various sections of my product page template to HEX #212529 to match the title of the section.

For example (circled red is the text whose colour I want to change):

Screenshot 2025-06-06 at 12.35.56 PM.png

Screenshot 2025-06-06 at 12.36.30 PM.png

Really appreciate your help – thank you!

Lizzy 

Accepted Solution (1)

websensepro
Shopify Partner
2137 267 318

This is an accepted solution.

Hi @Lizzo333 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

<style>
.rte {
    color: #212529 !important;
}
</style>

  Result:

websensepro_0-1749191403588.pngwebsensepro_1-1749191405551.png

 

 

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! 🚀 (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

View solution in original post

Replies 4 (4)

DrewOswald
Shopify Partner
81 18 25

The reason the body text is a different color than the titles is because the base.css stylesheet styles the body text so it's slightly transparent. It appears to be a lighter shade then the title. The way I reset the body text to remove transparency is by adding a Custom Liquid to the header area (so it applies on all pages) and adding this code:

<style>
.rte {
color: rgba(var(--color-foreground), 1);
}
</style>

Note: The last number is the opacity. 0 for completely transparent and 1 for completely opaque.

 

Instructions: 

001.png

devDrew webDev · Need a developer? Send me a DM.
Follow me on Instagram for Shopify Tips & Tricks: https://www.instagram.com/devdrew.webdev/

Kyle_liu
Shopify Partner
438 55 80

 

 

Add the following code to the base.css file

.image-with-text__text p {
  color: #212929;
}

 

 

.rte p {
  color: #212539;
}

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me Email Me Buy Me A Coffee

websensepro
Shopify Partner
2137 267 318

This is an accepted solution.

Hi @Lizzo333 ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

<style>
.rte {
    color: #212529 !important;
}
</style>

  Result:

websensepro_0-1749191403588.pngwebsensepro_1-1749191405551.png

 

 

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! 🚀 (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
Lizzo333
Excursionist
28 0 6

Thanks so much @websensepro – that worked and was super easy to install 🙂