Adam9 Posted February 13 Share Posted February 13 (edited) Hi @tuanphan, I have been through this thread and tried various CSS codes without any luck. I want to display a gallery with 3 images per row on Mobile, and was sure this would work: /* Mobile gallery */ @media screen and (max-width:767px) { .gallery-grid-wrapper { grid-template-columns: repeat(3,1fr) !important; } } But no luck. Here is the page: https://www.socialseason.net/instagram-links Please can anyone help? Edited February 13 by Adam9 potenzanana 1 Link to comment
tuanphan Posted February 15 Share Posted February 15 On 2/13/2024 at 2:17 PM, Adam9 said: Hi @tuanphan, I have been through this thread and tried various CSS codes without any luck. I want to display a gallery with 3 images per row on Mobile, and was sure this would work: /* Mobile gallery */ @media screen and (max-width:767px) { .gallery-grid-wrapper { grid-template-columns: repeat(3,1fr) !important; } } But no luck. Here is the page: https://www.socialseason.net/instagram-links Please can anyone help? Use this code @media screen and (max-width: 767px) { [data-section-id="65b9cca28b20e75fd16ec8db"] .gallery-grid-wrapper { grid-template-columns:repeat(3,1fr) !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment