decker Posted June 9 Posted June 9 title says it all. i have my image gallery set to 5 columns on desktop. on mobile the columns are set to 2, but I'd like this to be 1: mattdeckerart.com/portfolio/visualization how would i go about this? also, is there accessible documentation on how to identify desired parameters myself in the future? I have basic knowledge, and I'm guessing this case is a media query for either columns (easy enough), or image width?
Solution Lesum Posted June 9 Solution Posted June 9 (edited) @decker You can adjust the column count for mobile using media query. Add this code under Website > Pages > Website Tools > Custom CSS @media screen and (max-width: 767px) { .gallery-grid-wrapper { grid-template-columns: repeat(1, 1fr) !important; } } Edited June 9 by Lesum decker 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment