r/csshelp • • Aug 20 '12

Resolved <-- That image, right there, how do i edit it?

9 Upvotes

7 comments sorted by

1

u/jrkv Aug 20 '12

you need to change the value of background-position: -5px -5px; according to image you are using

.thumbnail.self {
 background-image: url(%%image%%);
 height: 50px;
 background-position: -5px -5px;
 background-repeat: no-repeat
 }

2

u/EvilBosom Aug 20 '12

So it can be anysize, and will just be reduced in size?

1

u/jrkv Aug 20 '12

it will not reduced in size, it will crop it to 70x50px

this is original image i used in my subreddit http://d.thumbs.redditmedia.com/JbY6kXyiLLIFYOJ-.png

and check thumbnail at /r/weeklyreddit

1

u/EvilBosom Aug 20 '12

Okay, I'll go try it out

3

u/yuki1986 Aug 21 '12

Hey, curious question, how much of a pain was it to get the side bar to the left side?

1

u/jrkv Aug 21 '12

i copied it from /r/southpaws , btw it is simple

/* changeover */
.side {
float: left
}
.content {
margin-left: 315px;
margin-right: 5px
}
.clearleft {
clear: right
}

1

u/yuki1986 Aug 21 '12

Thank ya thank ya