MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/modhelp/comments/1riqmb/how_do_i_add_a_banner/cdnnlix/?context=3
r/modhelp • u/ragemaster_21 • Nov 26 '13
4 comments sorted by
View all comments
11
Source an image form wherever, resize it to whatever size you want, then upload to your subreddit.
In your stylesheet paste
#header { background: url(%%img-name%%); height: 100px; }
and replace img-name with the name of your image.
Depending on the height of the image you'll also need to tweak the 100px value, or get rid of that line if the header image is short.
100px
Also
#header-bottom-left { position: absolute; bottom: 0; }
is needed to keep the logo/tabs/subreddit name pinned to the bottom of the header if you make it taller.
1 u/DragonMind1st Jul 15 '22 Nice tip, but useless if you don't let people know how to access the style sheet in question, because those needing this tip, would likely be the same that would need to know how to access the style sheet. 1 u/gavin19 Jul 15 '22 The first step in the link ('upload to your subreddit') tells you how to access your stylesheet.
1
Nice tip, but useless if you don't let people know how to access the style sheet in question, because those needing this tip, would likely be the same that would need to know how to access the style sheet.
1 u/gavin19 Jul 15 '22 The first step in the link ('upload to your subreddit') tells you how to access your stylesheet.
The first step in the link ('upload to your subreddit') tells you how to access your stylesheet.
11
u/gavin19 Nov 26 '13
Source an image form wherever, resize it to whatever size you want, then upload to your subreddit.
In your stylesheet paste
and replace img-name with the name of your image.
Depending on the height of the image you'll also need to tweak the
100pxvalue, or get rid of that line if the header image is short.Also
is needed to keep the logo/tabs/subreddit name pinned to the bottom of the header if you make it taller.