sarahtakesphotos Posted May 4, 2020 Share Posted May 4, 2020 Site URL: https://www.sarahwalker.work/ Hi there folks! I'm having trouble with the gallery block on my homepage. It contains three images, with the column number set to 3 in the gallery settings. On desktop, it displays fine, but on mobile, the grid pushes the third image onto a new line, which is making me frustrated. I had a Google and tried the following code in the Custom CSS area, but to no avail - it keeps running over two lines, rather than forcing the grid to three on mobile. @media screen and (max-width: 640px) { .sqs-gallery-block-grid .slide.sqs-gallery-design-grid-slide { width: calc(100%/1); } } This is all well above my wheelhouse - my coding knowledge extends to inserting images and making html links (what a boss). I'd greatly appreciate any thoughts anyone might have about how I can wrangle this! Cheers from Melbourne, Australia, Sarah Link to comment
tuanphan Posted May 4, 2020 Share Posted May 4, 2020 Add to Home > design > Custom CSS @media screen and (max-width:960px) { .homepage .sqs-gallery-block-grid .slide { width: 33.33% !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
sarahtakesphotos Posted May 5, 2020 Author Share Posted May 5, 2020 That worked perfectly! Thank you so much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.