Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to make Tumblr Photos smaller? Re: How to make Tumblr Photos smaller?

#108146
TheDoc
Member

1) You aren’t floating the images properly. Your code looks like this:

/*  POST - PHOTO/VIDEO  */
.post-photo img {
display: block;
margin: 'float: left' auto;
padding: 20px 0 0;
}

It should be like this:

/*  POST - PHOTO/VIDEO  */
.post-photo img {
display: block;
float: left;
margin-right: 10px;
padding: 20px 0 0;
}

2) It doesn’t look like you’ve added the CSS code I posted above to your website.

3) Just add another class to it. So it’d be “post-content post-photo group”. You can have as many classes as you want on any element.