Craig456 Posted September 5, 2022 Posted September 5, 2022 Site URL: https://www.craigkleila.com/ Hi, I added a gallery grid to display my logos on my homepage - craigkleila.com, password = "password". However, I don't see an option to add space on either side of the gallery so it's taking up the whole width of the page. Does anyone know how I can add padding to either side of my gallery grid? I've tried using this code, which works, but it also impacts other galleries on the site. .user-items-list { padding-left: 10vw; padding-right: 10vw; }
tuanphan Posted September 6, 2022 Posted September 6, 2022 Use this code @media screen and (min-width:992px) { .user-items-list-item-container[data-section-id="63165f17e666f56ecfc96479"] { padding-left: 10vw; padding-right: 10vw; } } 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!)
Craig456 Posted September 8, 2022 Author Posted September 8, 2022 This did the trick for desktop, thanks. However, now on mobile, only one icon is displaying per row. How can I make it 3 per row?
tuanphan Posted September 10, 2022 Posted September 10, 2022 On 9/9/2022 at 4:17 AM, Craig456 said: This did the trick for desktop, thanks. However, now on mobile, only one icon is displaying per row. How can I make it 3 per row? Add this to Design > Custom CSS /* Brands worked with mobile */ @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="63165f17e666f56ecfc96479"] { grid-template-columns: repeat(3,1fr); } } 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!)
Craig456 Posted September 16, 2022 Author Posted September 16, 2022 Unfortunately that didn't work. Any other ideas?
tuanphan Posted September 19, 2022 Posted September 19, 2022 On 9/17/2022 at 4:14 AM, Craig456 said: Unfortunately that didn't work. Any other ideas? Can you add & keep the code in Custom CSS? I will check it again 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!)
Craig456 Posted September 20, 2022 Author Posted September 20, 2022 I've added it again! Can you take a look?
tuanphan Posted September 21, 2022 Posted September 21, 2022 10 hours ago, Craig456 said: I've added it again! Can you take a look? It shows fine to me. You try clearing browser cache & check again. 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