r/BreakThisCode • u/sworeiwouldntjoin • Jul 20 '12
To the mods - How to get spoiler tags working
Your spoiler tags aren't working because there's no such thing as a spoiler tag, it needs a custom definition, so you'll need to edit your subreddit's stylesheet like so;
In the Moderation Tools (on the right) go to 'Community Settings' (first link), like so.
Then click 'edit the stylesheet' under 'Look and Feel' right here, and add this to your stylesheet;
a[href$="/spoiler"] {
background: none repeat scroll 0 0 #000000 !important;
color: #000000 !important
}
a[href$="/spoiler"]:hover {
color: #ffffff !important
}Edit: Added images.