keon Posted July 24, 2020 Share Posted July 24, 2020 Site URL: https://sprout-tuna-swnf.squarespace.com/sell-from-home/video-meeting-preparation In the custom editor, where I can select how much padding I want between my gridded images, I can only make the padding go up to 50px. However, I actually want the padding to be much bigger than this so the images are much smaller compared to their titles. How can I add more padding around my grid images to help significantly reduce the size of my images? Link to comment
tuanphan Posted July 24, 2020 Share Posted July 24, 2020 Add to Home > Design > Custom CSS div#block-86f7f26916e752a3f194 img { width: 50% !important; height: auto !important; } div#block-86f7f26916e752a3f194 a { padding-bottom: 50%; margin: 0 auto !important; text-align: center; } 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
keon Posted July 24, 2020 Author Share Posted July 24, 2020 Thanks, that works really well. But how come when I try and do the same thing on another page it doesn't work? For example on this page is displays like this - https://www.ridgemountpr.co.uk/sell-from-home/online-event-promotion The code I used was the same as the one as you wrote, but with a different block id. This was the code: div#block-e4fe438a51cb66847a03 img { width: 50% !important; height: auto !important; } div#block-e4fe438a51cb66847a03 a { padding-bottom: 50%; margin: 0 auto !important; text-align: center; } Link to comment
tuanphan Posted July 24, 2020 Share Posted July 24, 2020 div#block-e4fe438a51cb66847a03 img { width: 50% !important; height: auto !important; top: 0 !important; } div#block-e4fe438a51cb66847a03 a { padding-bottom: 50%; margin: 0 auto !important; text-align: center; overflow: visible !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
Archived
This topic is now archived and is closed to further replies.