Support » Themes and Templates » How do I change the color of strikethrough styling automatically?

  • Resolved Torley

    (@torley)


    Hi, I’ve seen some blogs where strikethrough text *also* appears in a faded gray. This doesn’t seem like manual coloring but CSS magic to me.

    Earlier, I tried some Google searches for things like “strikethrough CSS class” but didn’t find what I was looking for; perhaps I’m looking in the wrong direction.

    Similarly, I’m curious how to do this with bold and italic text.

    Can someone please tell me how? Your help is appreciated in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, you’d just use something like:
    strike { color: #ccc; }
    and for bold, italics, you’d use i and b instead of strike.

    Dang! That was a lot more easy and obvious than I thought… wonder why I couldn’t find it. Gah!

    Thanks SO much, theiconoclast31. You’ve saved me! 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I change the color of strikethrough styling automatically?’ is closed to new replies.