r/csshelp • u/Bongo9911 • Nov 04 '13
Announcment Bar
I'm working on /r/totaldrama/ and wondering how to do something like /r/Disney_Infinity/ did with the link to the "this week in infinity" post
6
Upvotes
3
u/XibalbaN7 Nov 04 '13
I'd be interested in finding out how to do this also. Would be great to have some form of News Ticker I could place breaking news/Topic of the week etc.
2
u/ImThatAwesomeDude Nov 05 '13
I figured out how to do it, if you were curious. Check out my other comment in this thread. Don't miss the part about adding
.content{margin-top:45px}as well.2
1
u/ImThatAwesomeDude Nov 05 '13
I was curious to find this out too so I went looking in inspect element and in the subreddit's stylesheet and found out that it's simpler than it may seem. All you need to do is add this code to your subreddit's stylesheet:
.side .md h4:nth-of-type(1){list-style-type:none!important;position:absolute;font-size:12pt;display:block;top:140px;left:5px;margin:0;background-color:#f6f7f8!important;color:black;text-align:left;border-radius:2px;border:1px solid #dbdbdb;width:auto;padding:7px 10px 7px 10px;white-space:nowrap;overflow:hidden}And make the first h4 in your sidebar the text that you want to appear at the top of the subreddit. Make adjustments as needed. If it doesn't work, I'm always willing to help.
Edit: Dear lord that code block looks ugly in this subreddit.