BUROM Posted March 18 Share Posted March 18 I'm using lots of gallery blocks on this website and I would like for the gallery blocks to display SIDE BY SIDE on mobile rather than stacked. I have this code which doesn't seem to work on my end: // STACK GALLERY ON MOBILE // @media screen and (max-width:650px) { .gallery-grid-wrapper { grid-template-columns: repeat(1,1fr) !important; grid-row-gap: 2vw !important; } } Does anybody know where I'm going wrong? Link to comment
tuanphan Posted March 21 Share Posted March 21 Can you share link to page where you use gallery? 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
BUROM Posted April 2 Author Share Posted April 2 Hi @tuanphan the page is: https://uptown.sydney/eat-and-drink Link to comment
Solution tuanphan Posted April 4 Solution Share Posted April 4 On 4/2/2024 at 8:39 AM, BUROM said: Hi @tuanphan the page is: https://uptown.sydney/eat-and-drink You can use this code to Website > Website Tools > Custom CSS then save & reload the page @media screen and (max-width:767px) { [data-section-id="65e9490abe62d95cb37c9634"] .gallery-grid-wrapper { grid-template-columns: repeat(2,1fr) !important; } } sayreambrosio 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
BUROM Posted April 5 Author Share Posted April 5 @tuanphan I have added this CSS and I didn't like it so I removed it, but the style change is still showing on my end. Do you know why this is happening? Thank you Link to comment
tuanphan Posted April 7 Share Posted April 7 On 4/5/2024 at 10:40 AM, BUROM said: @tuanphan I have added this CSS and I didn't like it so I removed it, but the style change is still showing on my end. Do you know why this is happening? Thank you I see you marked as resolved. Did you fix or still need help? 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
BUROM Posted April 10 Author Share Posted April 10 @tuanphan it's still happening on all the pages when viewing on mobile. I've deleted the css code but it still shows up. Why is it doing that? https://uptown.sydney/eat-and-drink Link to comment
tuanphan Posted April 13 Share Posted April 13 On 4/10/2024 at 11:11 AM, BUROM said: @tuanphan it's still happening on all the pages when viewing on mobile. I've deleted the css code but it still shows up. Why is it doing that? https://uptown.sydney/eat-and-drink I see it already 2 columns here 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
BUROM Posted April 15 Author Share Posted April 15 @tuanphan I know, but I don't want it on two columns anymore.. I have already deleted the code but it still shows up? Why is this happening Link to comment
tuanphan Posted April 18 Share Posted April 18 On 4/15/2024 at 7:20 AM, BUROM said: @tuanphan I know, but I don't want it on two columns anymore.. I have already deleted the code but it still shows up? Why is this happening To make 1 column on mobile, you can use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { .gallery-grid--layout-grid .gallery-grid-wrapper { grid-template-columns: repeat(1, 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