Hi guys, I’m sure it’s possible but I’m a little lost in adding a class to just a part of the text. I want to assign a class to only part of the text in red. Right now the whole text color is black but I want to change color of just part in .
How can add class inside of the this text?> > You are {{remaining_amount}} away from FREE SHIPPING
There is no store URL as this is work in progress that I didn’t publish yet.
The app support sent me this reply:
You will need to target the tag specifically. it will require custom code.> That specific code will need to be targeted to change this text as you see fit in this case.
Thank you!
Hi @dmitry_z .
This is PageFly - Advanced Page Builder.
You can try this code
You are {{remaining_amount}} away from
Hope this answer helps.
Best Regards,
PageFly
2 Likes
You are {{remaining_amount}} away from **<b class="your__class" >FREE SHIPPING</b>**
Replace “your__class” with any class name of your liking, you can then select it and create custom CSS as normal. is another good HTML element for this short of thing if you don’t want to use bold.
1 Like
Hello @dmitry_z 
You can do like this
You are {{remaining_amount}} away from **FREE SHIPPING**
Hope that helps!
1 Like
Hello @dmitry_z
Try this-
You are {{remaining_amount}} away from **FREE SHIPPING**
1 Like
You can add a class to the tag or you can find it’s parent class and add css like this
.parent_class > b{
color: red;
}
If you want us to do it for you, you can check out our app. You can create any theme edit task in it. The first task is free!
1 Like