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

Home Forums CSS How do I crop a grid of page thumbnails to a specific size

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #36483

    On the front page of my website I am displaying all of the artist pages (this is an art gallery website) on the front page in a grid with the page name and thumbnail. It’s working fine, but the sizes are a little different for each. How to I crop the images so they are all a perfect square? I am doing this in wordpress.


    you can set the thumbnail to a specific size by using


    then edit the thumbnail size in your media settings


    @vindicateme is correct, the_post_thumbnail is your friend! You’ll need to set it up in your functions.php though. Once you do, it’s super handy. Here is a write up that I did for it:

    If you have any questions, just ask here!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.