ibrade Posted August 15, 2022 Posted August 15, 2022 How can I change the aspect ratio for Gallery in Mobile using CSS? It's currently set to 1:1 on Grid: Simple. This is the code I am using to control the gallery at the moment: @media screen and (max-width:800px) { .gallery-grid-wrapper { grid-template-columns: repeat(1,1fr) !important; } } What can I add to the code to change the images within gallery to either 3:4 or 2:3 AND where in the code do I add it? Image attached showing what the site looks like in mobile
tuanphan Posted August 18, 2022 Posted August 18, 2022 What is gallery page url? We can help 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment