Streaming live at 10am (PST)

Styling Text: Different Underline/Strikethrough Color than Text Color


#1

Is there any way of changing the color of strike through effect on type?


#2

Hey @Tasos_Koutsofavas to add a strikethrough of a different color than the text color, you need to do the following:

  1. Style some text, and add a strikethrough color of your choice.

  2. Double click & add a span tag to the copy you'd like to have as a different color, then choose a color for the text.


  3. This also works for underlines wink

Have fun!
Let me know if you have any questions please. smile Feel free to clone & play around. smile

https://webflow.com/website/Adding-Different-Colored-Strikethrough-on-Copy?s=strikethrough-color


#3

Thank very much for your reply but i can not do it frowning it seems that the text changes color all together


#4

For underline you can also use a bottom border and color it.


#5

Alright ! I finally made it work ! Thanx @Waldo :smile:


#6

I am doing this but it changes the entire font colour. What am I doing wrong?


#7

Hey @Hamzster did you try cloning the site and playing with it? Are you using span tags?
https://webflow.com/website/Adding-Different-Colored-Strikethrough-on-Copy?s=strikethrough-color


#8

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.