• Resolved nsphuoc

    (@nsphuoc)


    Hi there, the thumbnail in my homepage is not identical.

    There are two first post with square thumbnails, the others are rectangles. When I use the old wordpress.com site. It’s all square.

    Why? Please help me to repair it.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nsphuoc

    (@nsphuoc)

    Hello!

    No one helps me?

    Hi there,

    There are two first post with square thumbnails, the others are rectangles.

    When I visit your site homepage, I do not see any square thumbnails, only rectangles. You can see what I see at this link: https://d.pr/i/Atq4aN

    Please note that the images that you set as your featured images are themselves cropped as rectangles and not squares. You can see that here, the source file for your most recent featured image: https://sonphuoc.com/wp-content/uploads/2020/07/laura_marling_song_for_our_daughter_feature-up-1609059983.jpg

    Because of this, the theme attempts to show the entire image, and does not automatically crop it to be a square on this page. However if you set a featured image that is a square, then the thumbnails on this page will also be square.

    Thread Starter nsphuoc

    (@nsphuoc)

    @jerrysarcastic dear you,

    I must repair by myself.

    It turns out that the thumbnails used at the homepage is “post-thumbnail” (which is rectangle). Normally the thumbnail is square.

    I repaired, but still don’t understand why.

    I want the feature images as I’m using. Thanks!

    Are you using a plugin to create custom image thumbnail sizes on your site? I noticed that on the demo site the theme uses the default post-thumbnail set by WordPress, which is square.

    However, your post-thumbnail seems to be a custom size when I visit your site. I see that you have set the narrow rectangle image shown on your homepage next to each post as a custom post-thumbnail image: http://sonphuoc.com

    Please note that if you are using a plugin to set a custom thumbnail size in WordPress, this will affect the image that is shown by your theme, since it also uses that image when building the page layout. For example the post-thumbnail in WordPress is usually square, but if you use a plugin to make the post-thumbnail image a rectangle, then the theme will use this rectangle image as well.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Thumbnail at the Homepage’ is closed to new replies.