KB_Designs Posted February 7, 2023 Share Posted February 7, 2023 I'm working on a site that uses the Balboa theme. By default, the masonry gallery jumps from 2 columns to 1 between screen width 768px and 577px. At 556px it returns to two columns. I'm can't determine what is causing this jump and how to prevent it cleanly. The solutions I've found in the link below result in either a reordering of the images or large vertical gaps between images. Any ideas for disabling this forced 1-column switch? Link to comment
tuanphan Posted February 10, 2023 Share Posted February 10, 2023 Hi, What is site url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
KB_Designs Posted February 22, 2023 Author Share Posted February 22, 2023 Hi Taunphan, You can use the Balboa demo site, as the same issue exists there by default. https://balboa-demo.squarespace.com/landscapes Thanks! Link to comment
tuanphan Posted February 26, 2023 Share Posted February 26, 2023 On 2/23/2023 at 12:14 AM, KB_Designs said: Hi Taunphan, You can use the Balboa demo site, as the same issue exists there by default. https://balboa-demo.squarespace.com/landscapes Thanks! Add to Design > Custom CSS @media only screen and (max-width: 768px) { .gallery-masonry .gallery-masonry-wrapper { columns: 2; column-gap: 0; height: auto!important; display: block!important; padding: 0px; } .gallery-masonry-item-wrapper { height: auto!important; } .gallery-masonry-item { position: relative!important; transform: none!important; width: 100%!important; display: block; padding: 1.5px!important; box-sizing: border-box; } .gallery-masonry .gallery-masonry-item img { height: 100%!important; width: 100%!important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
KB_Designs Posted March 17, 2023 Author Share Posted March 17, 2023 Thanks. This css maintains the two columns, but reorders all of the images. I'm ideally looking for a fix that doesn't reorder every image or leave massive vertical gaps. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment