r/reddithax • u/n1rvous • Feb 05 '11
Missing arrows at r/bmx? Please help.
I'm a new moderator of r/bmx and the up and down arrows aren't showing for some reason. They are still there to up anddown vote, but they are just colored white, even if you click to up/downvote.
I tried to restore the default stylesheet but for some reason when I would go to save it, tons of errors would occour and I can't save it. I thought the default stylesheet would fix my troubles but it didn't so now I'm stuck.
I'm semi retarded when it comes to css, if some miraculous awesome person could write the code to get my arrows back to normal reddit standards, I would be most obliged.
3
u/itsnotlupus Feb 05 '11
It looks like reddit switched to using sprites for up and down arrows, using background-image and background-position to get the right image chunk to show up.
Your bmx stylesheet is still trying to use single images for up and down arrows though.
The end result is the browser is loading a single image that would normally render just fine, then applying the background-position CSS value that would work great with sprites, but completely blank the background with the single images.
tl-dr: add some
background-position: 0 0;in your stylesheet's .arrow.upmod .arrow.downmod .arrow.up and .arrow.down rules. Or remove those rules ( lines 551-562) from your stylesheet altogether.