Home › Forums › WoodMart support forum › How to make a flat product grid?
How to make a flat product grid?
- This topic has 9 replies, 2 voices, and was last updated 3 years, 3 months ago by Elise Noromit.
-
AuthorPosts
-
July 30, 2021 at 4:25 pm #309784
haletsdParticipantThe products in my store have different images (vertical, horizontal, square). How to make a flat product grid? Why are images not being scaled to a fixed area?
Attachments:
You must be logged in to view attached files.July 30, 2021 at 10:39 pm #309811
Elise NoromitMemberHello,
Please follow the instructions on this manual: https://xtemos.com/docs/woodmart/faq-guides/image-size-content-alignment-product-grid/
If you have any questions please feel free to contact us.
Best Regards
August 2, 2021 at 7:21 am #310053
haletsdParticipantДанная статься не помогает в решении вопроса. Мы можем предоставить вам логин и пароль от сайта, поможете удалённо решить проблему?
August 2, 2021 at 10:46 am #310103
Elise NoromitMemberHello,
You need to upload images of the equal size and proportion. Such cannot be corrected with customization.
In addition, the product title should be of the same length. You will find how to find and enable this option in the manual I provided above.
Best Regards
August 2, 2021 at 11:26 am #310114
haletsdParticipantЕсли у нас будет 10000 товаров, как вы себе представляете под каждый товар делать картинки одинакового размера? Почему нельзя сделать контейнер для изображения определённой высоты и уже внутри контейнера масштабировать фотографию?
August 2, 2021 at 5:05 pm #310177
Elise NoromitMemberHello,
The cropping option described in the https://xtemos.com/docs/woodmart/faq-guides/image-size-content-alignment-product-grid/ just does what you suggest, however, the view is not good when images are of different sizes.
I can give you the code that would set the equal height for the box and here is the result you will get: https://gyazo.com/7588e5356f14ee9eae872bb76d43844a
The image nature does not allow to just equal sizes. That is why the only option is the cropping images in the Woocommerce options.
Please give me the page URL I will check once more, however, I do not promise I would be able to do something.
Best Regards
August 3, 2021 at 7:42 am #310272
haletsdParticipantHello,
https://demo.1001elka.by/catalog/iskusstvennye-elki/
На текущий момент у нас стоит “использовать оригинальные пропорции”.
При установке максимальной высоты изображение не масштабируется внутри контейнера.
August 3, 2021 at 12:20 pm #310362
Elise NoromitMemberHello,
There are two ways only: upload equal size images or crop them. No more option in our theme or in Woocommerce.
You can alternatively try this СSS:
.product-grid-item .product-image-link img, .product-grid-item .hover-img img { max-height: 250px; object-fit: contain; }
Best Regards
August 3, 2021 at 1:12 pm #310384
haletsdParticipantСпасибо, возможно это решение нас устроит.
August 3, 2021 at 11:41 pm #310471
Elise NoromitMemberYou are welcome! We are here to help.
Wish you a wonderful day!
-
AuthorPosts
- You must be logged in to create new topics. Login / Register