L
L
leviathan2016-05-19 18:16:19
WordPress
leviathan, 2016-05-19 18:16:19

How to display square thumbnails in Wordpress?

There is a task - all thumbnails should be exactly square and arranged in 3 columns. But how to do this if the images have different sizes?
Here is an example28f98a3f100a465ba4c666a1caa9bb7f.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Lumen, 2016-05-19
@The_Lars

well, this is already css , it’s quite simple:
1) specify a static width and height for images
2) well, remove the border-radius from the img and / or from the block in which the img is located (it may still contain overflow:hidden;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question