megf Posted February 12, 2020 Posted February 12, 2020 Site URL: https://agriculturalinstitute.squarespace.com Hello, Does anyone know how to change the way the grid gallery is resized in mobile? I am hoping to have my 7 images appear on one line (7 columns essentially, even though they will be small) instead of 2 per row. I am using the Impact template within the Brine family. I tried this code to no avail: <!-- stack gallery grid on mobile --> <style> @media only screen and (max-width: 640px) { .sqs-gallery-design-autogrid-slide { width: calc(100/7)% !important; clear:right !important; } .sqs-gallery-block-grid { overflow: visible } } </style> Thanks for you help!!
tuanphan Posted February 12, 2020 Posted February 12, 2020 What is access password? 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!)
megf Posted February 18, 2020 Author Posted February 18, 2020 On 2/12/2020 at 3:42 PM, tuanphan said: What is access password? "aim" Thank you!!
tuanphan Posted February 19, 2020 Posted February 19, 2020 14 hours ago, megf said: "aim" Thank you!! Add to Home > Design > Custom CSS .sqs-gallery-block-grid.sqs-gallery-thumbnails-per-row-7 .sqs-gallery-design-grid-slide { width: 14.285714285714286% !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!)
megf Posted February 19, 2020 Author Posted February 19, 2020 9 hours ago, tuanphan said: Add to Home > Design > Custom CSS .sqs-gallery-block-grid.sqs-gallery-thumbnails-per-row-7 .sqs-gallery-design-grid-slide { width: 14.285714285714286% !important; } Thank you so much!! Works like a charm!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.