MitchTheBoss Posted May 16, 2022 Share Posted May 16, 2022 Site URL: https://olive-cuboid-89bn.squarespace.com/ Hello, I am trying to make the 3 image poster blocks under my main image to fill the section they are in with no padding. I have tried some custom css without luck. the password is: "haetchi" Hopefully someone can provide some advice. Thanks in advance. Link to comment
derricksrandomviews Posted May 18, 2022 Share Posted May 18, 2022 This should work . Add this to the page header code injection for the page with the images: <style> .sqs-block.image-block { padding: 0px !important; } </style> Remove the style commands and place in custom css if you want it to work site wide. Link to comment
MitchTheBoss Posted May 19, 2022 Author Share Posted May 19, 2022 Thanks Derrick! This almost worked, it doesn't quite fill the space but I'll try adjusting the css. I noticed that this has also applied to all of the poster blocks. How do i make it apply to just that section below the main image? This is the section ID: section[data-section-id="627e4bd3934d6b26dbcd5214"] Link to comment
tuanphan Posted May 20, 2022 Share Posted May 20, 2022 9 hours ago, MitchTheBoss said: Thanks Derrick! This almost worked, it doesn't quite fill the space but I'll try adjusting the css. I noticed that this has also applied to all of the poster blocks. How do i make it apply to just that section below the main image? This is the section ID: section[data-section-id="627e4bd3934d6b26dbcd5214"] add ID before the code <style> section[data-section-id="627e4bd3934d6b26dbcd5214"] .sqs-block.image-block { padding: 0px !important; } </style> 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
MitchTheBoss Posted May 22, 2022 Author Share Posted May 22, 2022 (edited) That fixed the issue of it applying to the other sections. But how do I make it edge to edge? It still has padding on the sides/top/bottom. Also, I just noticed that there is a page alignment issue now, the "Book a Class" button at the top doesn't have any padding to the right. I am not sure why it would affect that. Edited May 24, 2022 by MitchTheBoss Link to comment
Solution tuanphan Posted May 23, 2022 Solution Share Posted May 23, 2022 20 hours ago, MitchTheBoss said: That fixed the issue of it applying to the other sections. But how do I make it edge to edge? It still has padding on the sides/top/bottom. Also, I just noticed that there is a page alignment issue now, I have to scroll to the right because there is a gutter down the right side now. Use this new code <style> section[data-section-id="627e4bd3934d6b26dbcd5214"] .sqs-block.image-block { padding: 0px !important; } section[data-section-id="627e4bd3934d6b26dbcd5214"] .content-wrapper { padding: 0px !important; max-width: 100% !important; } html, body {overflow-x:hidden;} </style> MitchTheBoss 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
MitchTheBoss Posted May 24, 2022 Author Share Posted May 24, 2022 That fixed it perfectly! 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