New Topic

Featured Images are showing at full size

Home › Forum › Help › Featured Images are showing at full size

This topic contains 5 replies, has 2 voices, and was last updated by  StartupWP 3 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #833

    wmys
    Member

    Hi there,

    Just bought Pro and it’s really clean and lovely to work with. I am having trouble with featured images. They are not re-sizing to the size set for them – they are remaining full size. I have played around with editing/cropping and they do not save (the save button is not clickable). This seems to be a template-specific problem because the featured images work correctly on the default templates.

    Site is temporarily here: http://174.120.23.123/~william

    Any advice would be appreciated – it’s my only stumbling block.

    #834

    StartupWP
    Support

    We’ve purposely left it blank, so to speak.

    Use:

    .attachment-post-thumbnail {
      height: auto;
      max-width: 300px !important;
    }

    Change 300 to your desired width.

    Or if you want it to say, float left with a margin for text to wrap around, use:

    .attachment-post-thumbnail {
      float: left;
      height: auto;
      margin: 10px;
      max-width: 300px !important;
    }

    Please see: https://startupwp.com/topic/customizing-your-theme/

    #835

    wmys
    Member

    Many thanks for your quick response.

    This works – except that the image in the post itself is now also conforming to that thumbnail size, and I want it to be full size. Here is a blog that shows what I want: http://www.healthyhomecleaning.com/

    See how the thumbnails are all squares of the very same size? It gives a nice, uniform look. Then if you go to the actual post, you can see that the image is full-size.

    #838

    StartupWP
    Support

    You can just add .blog in front like so:

    .blog .attachment-post-thumbnail {
      height: auto;
      max-width: 300px !important;
    }
    #840

    wmys
    Member

    Thanks very much. That did the trick. Nice template for a great price. :0)

    #843

    StartupWP
    Support

    You’re welcome.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.