Hi, I am getting an unexpected behaviour when using typography columns within a collection list to display images in as a masonry grid. On the page are two collection lists, the first displays a collection of images that work ok in the designer and preview but break when viewed in a live browser. The second collection list (grey background) is similar except I have put the images inside a ‘card’, the grid clips in both the designer and live version on chrome.
Thank you, your suggestion has partially fixed the issue but I am still having issues on the live site in chrome with janky irregular column gaps and where some of the image elements aren’t filling 100% width. There is also a weird box-shadow that is appearing at the bottom of the collection list in the grey section.
I know this method is kind of a hack but is it a hack too far in this case?
Thanks again for your response. It was the collection-item-card that I needed to set to display inline to fix the shadows. Couldn’t have done it without your help.
regarding the uneven column gap, it must be my browser as this is what I see:
Appreciate your help with this. This is a feature that I would like to use in the future so would be good to know how to fix it, however, these are just ideas im messing around with so don’t go out of your way.
try to clear all cookies and history and close and open the browser… i just tested it in Chrome and it works well…
Also try to achieve the space between the items by giving each collection item margin-right and margin left and remove the column width setting. Also st Collection Item Overflow to “hidden”.
I managed to fix it, if your interested link is below. In the end it was along the lines of what you said - I removed the column gap and replacing it by adding a div within the collection item that contained the image element and giving a padding to this (acting as fake margin)
I then had to add negative margin to the collection list to put it back in line with the container box. All works good now, not sure if I will ever use it but still.
Again many thanks for putting me on the right track.
John.
No problem, i have mucked around with the masonry gallery for a long long time… here is an example of what i did… I wanted to make for my portfolio and it took me a while to settle on the “text column” method - after I have tried various custom code options… this seemed to be the easiest (also since it is native)… my only problem - which still remains unsolved, is the CMS limit of 100items per collection