Site URL: https://rhurtado-new.squarespace.com/
Hi everyone! I'm trying to build an image gallery and wanted to display more than 6 images in a row, both on desktop and on mobile.
I used this code as a header injection on the page and it worked great:
The only issue is that I have the galleries organized in an accordion (Will Myer's Accordion Pro plugin) and when I expand the accordion sections, there's a big space under each gallery section. This only happens in the beginning, if I close and open the accordion sections, the gap disappears. If I remove the code above, there is no gap when expanding the accordion sections.
I'd love any thoughts on how to fix this, thank you!