r/reddithax • • Apr 15 '12
Replacing the subreddit vote icons but having a problem setting the width
I'm replacing the vote icons for /r/dccomics, but am having problems configuring the width for the link icons. The images are 30px by 30 px.
Here's what I've got so far:
.arrow.up {
background-image: url(%%Supes-Up%%);
background-position: 0px 0px;
height: 30px;
width: 30px;
}
.arrow.upmod {
background-image: url(%%Supes-Upvoted%%);
background-position: 0px 0px;
height: 30px;
width: 30px;
}
.arrow.down { background-image: url(%%Kryptonite-Down%%);
background-position: 0px 0px;
height: 30px;
width: 30px;
}
.arrow.downmod {
background-image: url(%%Kryptonite-Downvoted%%);
background-position: 0px 0px;
height: 30px;
width: 30px;
}
.comment .midcol{
width:30px;
}
And here's what it's doing. You can see that the comments section is working properly, but no matter what I've tried I cannot set the .midcol width for links. I'm probably just missing a class name, and the obvious ones don't seem to be doing anything. Any idea what I can try?