dnmddy Posted March 19 Share Posted March 19 I have a gallery block with 5 images. On mobile, I have it set to break at 3 across, giving 2 on the second row. Is it possible to center the second row? https://sycamorecollab.org/map Link to comment
Solution tuanphan Posted March 21 Solution Share Posted March 21 Try this CSS code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { div#block-f4af4926eecb45ea1960 .sqs-gallery { display: flex; justify-content: center; flex-wrap: wrap; } div#block-f4af4926eecb45ea1960 .slide { width: 33.3333% !important; } } dnmddy 1 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
dnmddy Posted March 27 Author Share Posted March 27 @tuanphan to the rescue yet again! 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