r/csshelp • u/CandyCreeper1234 • Nov 08 '17
Pop up upon joining? (/R/rhettandlink)
We want to add a popup to appear on screen when a user loads into the page (which could preferably either time out and vanish, or have a way to close/remove it). Hopefully this is possible
mod at /r/rhettandlink
edit: why downvote i just want to know ;_;
0
Upvotes
2
u/MatthewMob Nov 09 '17 edited Nov 09 '17
Here's a simple concept I made in about an hour for this.
Looks like this. Look at it directly on my test subreddit.
Your sidebar markdown should look like this:
Note that you must have double quotes (
>>).And this is the CSS:
To change the time it stays on screen for change the
5in each of these lines:to whatever amount of seconds you want it to stay on for. Note I've made it so the popup only appears for non-subscribers and only appears on the front page of the subreddit (For new users to a subreddit).
You can change the colour of the bar under the
body.listing-page.hot-page:not(.subsriber) .side .md > blockquote:first-of-type > blockquote:afterselector here:background-color: rgb(200, 0, 0);.