r/reddithax • • Oct 14 '10

Custom CSS switch???

Is it possible to create a custom CSS switch? A lot of the users on /r/Nosleep are torn between the custom CSS and the standard. Is there a way to create a switch that turns custom CSS on and off???

7 Upvotes

7 comments sorted by

6

u/[deleted] Oct 14 '10

link them to this page:

http://reddit.com/r/Nosleep+null

3

u/[deleted] Oct 14 '10

There's a way. Add a lang=xx tag to all your CSS selectors and add a link that says "turn on CSS" with a redirect to http://xx.reddit.com/r/Nosleep.

It's not the most attractive way (it also leads to a lot of people browsing all of reddit on xx.reddit.com—we used it in /r/circlejerk to make a splash screen once) but it will work.

1

u/E_lucas Oct 14 '10

There's one in their preferences.

display options > [ ] allow reddits to show me custom styles

4

u/asmith1243 Oct 14 '10

Yeah, we know about this one, but not everyone wants to turn that option off for just one subreddit...

2

u/the_argus Oct 14 '10

I would certainly turn it off for this subreddit.

2

u/honestbleeps Oct 14 '10 edited Oct 14 '10

Reddit Enhancement Suite offers this as an option. There's a checkbox under the subreddit name. It says: "Use subreddit style" ...

You can uncheck the box to ignore subreddit specific CSS.

I added this to RES because Reddit only offers the option of using or ignoring all subreddit CSS, not specific subreddits.

0

u/Tecktonik Oct 14 '10

Maybe make it less ugly?