Tagged: categories
Hi,
Is there a way for the masonry gallery to not shift if a caption on an image is longer than on another.
I am trying to achieve a grid of product photos with captions that say what the product is. However, with the masonry gallery, if a caption is longer on a row of photos it throws off the entire column.
Is there a better way to do this?
Hey xuamox,
Then you would have to set a fixed height for all the elements, would you like to do that?
Best regards,
Rikard
Yes, that would be fine because all the images will have the same size, so I need a fixed height for the product descriptions. How do I do that?
Hi xuamox,
YOu could try the code below, but with different screen sizes and different amount of text, yuo can never be sure like that.
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.av-masonry-entry .av-inner-masonry-content {
min-height: 60px;
height: 100%;
}
If you need further assistance please let us know.
Best regards,
Victoria
Dear Sir,
Can u help me, how to display in masonry product grid the tags and category labels, like on normal woocomerce grid.
Thx a lot,
d.
Hi,
You can try the following filter.
// https://kriesi.at/support/topic/add-category-to-masonry-blog-main-page/#post-865056
Please open a new thread if you need further help. We’ll close the thread for now.
Best regards,
Ismael