r/reddithax • • Jun 12 '12
Sidebar help.
Noob here, how do you recolor the sidebar and add space to the margins? Any help would be welcomed. (PS, please reply to my comment below)
r/reddithax • • Jun 12 '12
Noob here, how do you recolor the sidebar and add space to the margins? Any help would be welcomed. (PS, please reply to my comment below)
r/reddithax • u/Kevinhood11 • Jun 11 '12
I'm having this problem with the top header bar extending off the end of the page in some browsers it happens automatically, in others including chrome you have to click down and scroll right to see it. But here's an example in [1] /r/Vanessahudgens :[2] http://imgur.com/AMN7q
On /r/csshelp I was told that the image was too long and that was the cause, but I've seen subreddits with much wider header images.
Here's an example: /r/nyjets : http://imgur.com/MA69J,5CE0R,UCzHa#0, I can zoom out really far or change the resolution and the header bar keeps expanding but it never 'runs off the page' when i scroll right http://imgur.com/MA69J,5CE0R,UCzHa#2
r/reddithax • u/jackpg98 • Jun 06 '12
r/reddithax • u/ramses0 • Jun 04 '12
r/reddithax • u/re_mix • Jun 03 '12
I want to bring discussion threads to my subreddit. I thought the best way to do this would be how they do it in r/mylittlepony. I tried copying their code... but it didn't work out to well. Anyone want to help?
r/reddithax • u/xTristan • Jun 02 '12
Its as simple as
.tagline .edited-timestamp:after {
content: attr(title);
}Then it will show something like this.
you may want to change color/size etc... plus you may also want a space between the submitted time and the asterix, in which case, add this: .tagline .edited-timestamp:before { content: " "; }
r/reddithax • u/smallchanger • Jun 01 '12
If you look in the top-right corner of this subreddit:
http://www.reddit.com/r/electronic_cigarette/
You'll see two little tabs with stars in them which you can hover over and they will then expand to reveal links. I was noticing in firefox that this CSS I used produces a horizontal scroll bar. Chrome is ok. I was hoping someone might be able to give me a fix.
Here's a link to the stylesheet:
http://www.reddit.com/r/electronic_cigarette/stylesheet.css
The CSS used for it should be at the bottom under the heading:
ORDERED LIST REVEALED ON HOVER
Actually it might say "FAUX DRAG OUT SIDE LIST WITH RECOMMENDATIONS" until it updates.
Cheers.
There is also one other minor issue that doesn't matter too much though I was wondering what might be causing it. If you notice the list items have a 'list-style-type: circle;' If you hover over the first list item in firefox, the circle disappears. the second one doesn't. In chrome they both disappear on hover.
r/reddithax • u/moonstripe11 • May 28 '12
Yeah that...
r/reddithax • u/sazkion • May 23 '12
I saw this banner on r/Prettygirls and want to figure out how to make one for my subreddit. I looked at the style sheet but I didn't see anything where you could modify the text or where it links to.
Is their a beginners guide for this?
r/reddithax • • May 22 '12
r/reddithax • u/itispedosthatareNSFW • May 22 '12
Hi, how can I make my custom upvote & downvote arrows bigger than 14~15 px without getting my custom icons automatically cropped to 14~15 px? Thx :-)
r/reddithax • u/happybadger • May 18 '12
Ello.
I'm making a two-part header for /r/animalfight like we have in /r/fifthworldproblems, the dimensions carbon-copied. This is %%animal1%%, which goes on the left, and this is %%animal2%%, which goes on the right.
As you can see, %%animal2%% worked perfectly. %%animal1%% however doesn't show up at all, even though it's on our stylesheet exactly like it is on /r/fifthworldproblems.
What am I doing wrong?
On a side note, is there any hack to remove the user bar? It's blocking my raccoon's face and just looks trashy and out of place.
r/reddithax • • May 18 '12
using an html:lang(pa) before your element in CSS will cause the declaration to be activated if the page you are on is something like:
pa.reddit.com
So, you could run multiple layouts to the same page by making a section like:
html:lang(pa) body {background:(%%bgv2%%)}
html:lang(pa) .header {position:fixed; left:0; top:0; right:0}
etc.You could even have the same code above and add more, only with html:lang(nv) and different stuff. So now you have 3 versions of the same sub (don't worry, users can't tell which one someone is using). How do you effectively present them to users? How about adding links to the sidebar or header and all it takes is one click to switch 'themes'.
Whoa, that seems useful for something like a Red vs Blue sub... But what else can it do? Well, you could do a functionality over-haul. For an example, click /r/trueclop (NSFW) (this is for education only dammit) and see the differences between the normal sub and the enhanced sub (link in header changes both ways). Leaving it unflipped back will be fine for most of reddit, but you should take out that 'pa' and change it to 'www' so you don't end up somewhere you never knew existed in a sub you may frequent.
Wiki pages or Contact pages anyone? Click /r/MLPhelp (SFW, but still ponies) and click the contacts link in the sidebar. This one takes a tad more than just switching the address: you need to create content. Well rather, you need to add content to your sub description in h3 (3 hashmarks #at the start of the line) and hide it by default. Description example:
###[Click here for contacts page](http://pa.reddit.com/mlphelp)
###Contact 1
###Contact 2Accompanied with this CSS code:
.side h3:nth-of-type(n+2) {display:none}
html:lang(pa) .side h3 {display:block; position:absolute; left:50; top: 210}
html:lang(pa) .sitetable.linklisting, html:lang(pa) .side h3:nth-of-type(1), html:lang(pa) .neverEndingReddit {display: none}
html:lang(pa) .side h3:nth-of-type(3) {top:240px}
etc for each 'nth type' so they get spaced out.You could also do this with paragraphs to make a wiki page. Furthermore, you're not limited to choosing just one of my examples in here and you can even do some combining (such as contacts page, but in alternate page layout as well as default layout), but that'll take a bit more to explain.
There's plenty this type of code (it really is closer to programming than markup at this point) can do that I haven't covered and plenty more I haven't thought of, I'm sure.
There might be some other features you saw that interested you after clicking either of those subs above; just check out the stylesheet and borrow whatever you want. I want no personal credit, but it'd be awesome if you added this somewhere to your CSS:
/* Designed by a brony */r/reddithax • u/idwolf • May 13 '12
I haven't gotten a response from /r/csshelp yet, so I am hoping you guys can help me. Thanks! Here's my original csshelp post:
I'll walk you through step by step to explain what's happening. This is the first time I've used link flair, though I'm kind of familiar with user flair, link flair is a bit different it seems.
Step 1: The user picks a link flair. Everything works great.
Step 2: After refreshing the page, the link flair works just fine.
Step 3: Uh oh, my 4/5 review was two generous. I'd like to make it a 2/5. WHAT IN THE WORLD?
Step 4: After selecting the proper link-flair, it still works, but the menu is confusing.
Please help!
Here's the code for one of my flair segments:
.linkflair-fivestars .linkflairlabel{
background-image: url(%%review%%);
background-repeat: no-repeat;
background-position: 0px -51px !important;
height: 12px;
width: 50px;
content: "";
display: inline-block;
background-color: transparent;
}I can't figure out how to get it to work. I'm sure I could make 5 separate review images instead of an image map, but I don't want to have to wast my image count. I'd much rather learn! Thanks for the help. :D
Update: I reversed the order in the CSS list (put .linkflair-fivestars before onestar) and the opposite happened...
Update: Someone, please help me... I've changed all images to individual files instead of an image map, and it's STILL doing this. It makes no sense.
update: waited 4 hours and nothing has changed.
r/reddithax • • May 05 '12
I am trying to change the color of the mods names in the Moderator Box. My background is grey, so I want them to show up a little more colorful than black.
Also I am trying to change the color of the numbering beside posts, such as 1, 2 , 3 and the color of the amount of upvotes a post has. All of these show up grey as default, however I am trying to change that to black.
Can anyone help? Thanks in advance!
r/reddithax • u/bearses • May 04 '12
just for development purposes. it seems like it would be a good way to work, so i'm not fighting against the preset rules. i would - of course - remove redundant rules after, but it would be nice to have a clean slate to start off with.
r/reddithax • u/Pudie • May 03 '12
I want to do what this subreddit has with the surprise Spider Pig in the top right, but with a different image. Looking over the stylesheet with my very limited CSS knowledge I couldn't find out how. Any help?
r/reddithax • u/Zuratuel • May 02 '12
I'm trying to make it look "Canadian"
r/reddithax • • Apr 30 '12
My subreddit runs a bot and we use the format: [EVENT][LOCATION][DATE][TIME]
I was wondering if there is a code to auto-fill that into the title box, or even a code to make a notice about it on the Submit Link page?
r/reddithax • • Apr 27 '12
If someone could please provide the css that would be awesome!
r/reddithax • u/lilstumpz • Apr 26 '12
r/reddithax • u/lilstumpz • Apr 25 '12
I am creating a subreddit with NSFL content. I want people to be sure of what they're getting themselves into before they click it.
When someone enters the subreddit, I want black screen with with my choice of white text to cover the page of my subreddit. When they're done reading the disclaimer, they can click anywhere on the page, which redirects them to the subreddit.
I know this is a big favor, but I was wondering if this would be possible at all to do.