Styling Text: Different Underline/Strikethrough Color than Text Color

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

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. :slight_smile: Feel free to clone & play around. :slight_smile:

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

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

1 Like

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

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

2 Likes

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

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

1 Like

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