Basvanest Posted January 22, 2022 Share Posted January 22, 2022 Site URL: http://www.basvanest.com Hi Guys, On my desktop site I have a spacer each side of the image gallery as the image would otherwise edge out of screen at the top and bottom. Can I overwrite this in Mobile? Or, alternatively. Should I ditch the spacers, use CSS to customise padding for both desktop and mobile? If yes, how please? Thank you! Link to comment
tuanphan Posted January 24, 2022 Share Posted January 24, 2022 To reduce padding on mobile, try adding to Design > Custom CSS /* gallery padding on mobile */ @media screen and (max-width:640px) { div#block-yui_3_17_2_1_1641497942316_3417 { padding-left: 0px !important; padding-right: 0 !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