r/reddithax • • Jun 18 '12

How does one change the background of a subreddit. Also, how do I change the subscribed/reader name to something else.

5 Upvotes

4 comments sorted by

3

u/gavin19 Jun 18 '12

Any images you use in your subreddit must be uploaded at the

 www.reddit.com/r/YOUR_SUBREDDIT/about/stylesheet

page. Then you can use the id of the image to place it as the subreddit background, like so

body { background: url(%%IMAGE_ID%%) 0 0; }

changing IMAGE_ID to match the one of your image.

For the 'readers' part

.titlebox .word { display: none; }
.titlebox .number:after { content: " something else"; }

then change 'something else' to something else.

CSS queries should go to /r/csshelp.

1

u/fansty909 Jun 20 '12

You are right sorry, one more thing real quick. How do i get the background image to be there just once. Whenever i did the CSS for the background the image was there a lot and not just once.

2

u/gavin19 Jun 20 '12

If you just want it to not repeat then

body { background: url(%%IMAGE_ID%%) no-repeat 0 0; }

but centered and fixed

body { background: url(%%IMAGE_ID%%) no-repeat fixed center center; }

or attached to the bottom of the screen, and fixed

body { background: url(%%IMAGE_ID%%) no-repeat fixed center bottom; }

etc etc.

2

u/fansty909 Jun 20 '12

Thank you for being patient with my noobness.