Answer the question
In order to leave comments, you need to log in
How to fix parent block height with content?
There is a block with the main image of the product, inside it is another block with additional images. For the first block, you need to make a border of a certain color, while adding. pictures must also be inside this border. I did this using padding-bottom, but the problem is that each product has a different number of images and it turns out extra empty space. For example, one position has 6 pictures, the other has 3. How to make sure that there is no extra space? Seems like a common problem, but I can't figure it out. Here is the site itself: lozhki-luzhniki.ru/upakovka-pod-lozhki.html
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question