change colour of text for 'icon with text'

change colour of text for 'icon with text'

ads18922
Trailblazer
190 0 58

hello, i want to change the colour of my first line of 'icon with text' on my product page. I want the "Limited stock - last pieces available" to be changed to colour #FFBF00

Screenshot 2025-05-28 at 13.40.11.png

my website is www.alexandrawestbrook.com , theme is dawn

Replies 3 (3)

topnewyork
Astronaut
1513 186 248

Hi @ads18922,


1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

.icon-with-text__item:first-child .inline-richtext {
  color: #FFBF00 !important;
}

topnewyork_0-1748436533383.png

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

topnewyork
Astronaut
1513 186 248

Hello @ads18922 ,


Go to Online Store > Edit Code > base.css file.
Add the following code at the bottom of the base.css file.

.icon-with-text__item:first-child .inline-richtext {
    color: #FFBF00 !important;
}

 

Screenshot 2025-05-28 175502.jpg

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

websensepro
Shopify Partner
2109 262 313

Hi @ads18922 
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>
.icon-with-text__item:first-child .inline-richtext {
  color: #FFBF00 !important;
}
</style>


If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

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