Solved

Can you give me a code for changing color on specific text

CupiHealth
Tourist
8 1 1

Hello guys i would like to ask can you give me a code for Changing this specific text

CupiHealth_1-1710800562188.png

 

Information that can help you to more to understand my request:

I want to change text color only on "Use Code: CH3407 for 10%OFF".

This text is on product page.

I use theme Refresh.

The image below is image from my website when i open Inspect on selected text(Use Code: CH3407 for 10%OFF).

 

 

CupiHealth_0-1710800487602.png

 

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
7729 1507 1516

This is an accepted solution.

Happy I could help!

- Helpful? Like and Accept solution or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now

View solution in original post

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
7729 1507 1516

Hi @CupiHealth 

Please go to your Online Store > Themes > Customize > Products > select the template of that product, remove Text block of above tex and add a custom liquid block instead, and then add this code into liquid, save your template. 

<p style="color: red;">Use Code: CH3407 for 10%OFF</p>

Screenshot 2024-03-19 at 11.12.54.png

 

- Helpful? Like and Accept solution or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now

CupiHealth
Tourist
8 1 1

Thank you very much!

23cbfcab-e652-43a8-8a81-50795c421efb.png

Dan-From-Ryviu
Shopify Partner
7729 1507 1516

This is an accepted solution.

Happy I could help!

- Helpful? Like and Accept solution or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now