Change size of featured image on front page

  • Unknown's avatar

    Hello!

    My featured images takes up to much space. I would like them smaller. Is there any way?

    Thanks
    Niclas

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi Niclas, due to the nature of your images, let’s try this. On your first CSS rule, add a margin-left: 144px; declaration so it looks like this

    .post-thumbnail {
        background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
        margin-left: 144px;
    }

    and then add this

    .entry-thumbnail img, .post-thumbnail img {
        max-width: 300px;
    }

    which moves the image to the right to be more inline with the content post content. See what you think. You can edit the 300px max-width value as desired.

  • The topic ‘Change size of featured image on front page’ is closed to new replies.