How to lock image ratio (Debut theme, Gallery section)

New Member
2 0 0

Hi! Is there any way I can lock the image ratio?

Debut theme is very responsive, which is great, but minor tweaks are still needed. I've already made each image to be 1:1 ratio so that they simply stack on each other for mobile. However, for the web, depending on the browser width, it chops off my image and words.

[1. currently happening - words on 2nd image get chopped]


[2. Desired]



I think one way to solve this is to lock the image ratio as the original. I'm guessing I just need to touch CSS a little bit somewhere?

Any help will be greatly appreciated. Thanks!