colleenalicee Posted May 26, 2020 Share Posted May 26, 2020 Site URL: http://www.camberwellarts.org.uk/test123 Hi, I'm looking to remove the top/bottom padding on code blocks to create a seamless shape but can't seem to figure this out. Have inserted the following code below but the padding is still there on the top/bottom. https:// www.camberwellarts.org.uk/test123 .code-block { padding: 0 !important; } Thanks! Link to comment
JOHNMD Posted May 26, 2020 Share Posted May 26, 2020 On version 7.1 : .sqs-block-code {margin-top: 0; margin-bottom: 0;} -John mcgouran.john@gmail.com Link to comment
colleenalicee Posted May 26, 2020 Author Share Posted May 26, 2020 Hi John Thank you, although this code just increases the padding on all sides again? (pictured) I'm looking remove all white spacing between the images Thanks -C Link to comment
JOHNMD Posted May 27, 2020 Share Posted May 27, 2020 @colleenalicee Locate your page section ID with Inspect and replace in "" below. [data-section-id="5ec161f755776437f35f2e05"] .sqs-block-code { padding: 0!important; } Hopefully, works this time. mcgouran.john@gmail.com Link to comment
colleenalicee Posted May 27, 2020 Author Share Posted May 27, 2020 @JOHNMD Hi John, thank you. I've replaced the section ID but when the code block is selected it seems to be the bottom padding that is still causing the issue? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.