Can I make a single word green in a banner using Empire theme on Shopify?

Mayafern94
Visitor
3 0 0

My client wants a word out of a sentence in the banner to be green but the code i know makes all the sentence green. I am using Empire theme

Replies 4 (4)

ReturnPrime
Shopify Partner
438 63 102

Hey @Mayafern94 ,
Please share your store URL.
Thank you!
Raman
Return Prime 

Mayafern94
Visitor
3 0 0

rrrr

Mayafern94
Visitor
3 0 0
ReturnPrime
Shopify Partner
438 63 102

Hey @Mayafern94 ,
You can achieve this  by following below code.

<h2> Your trust source for Genuine <span class="text__green">HPE</span> Replacement Parts</h2>

.text__green {
  color: green;
}

Hope it helps!
 
Raman
Return Prime