How do you hide code blocks from showing up as white space on your website?? This seems like a huge oversight on behalf of Squarespace. Unless there is an obvious way to do it I haven't found yet?
I have code blocks for my anchor links that obviously have to go in specific spots on my page and there's no place for them to just be inline with something else. And when I use "display: none" in the custom css, they stop working.
If you really want to hide ALL code blocks then you can add this to Design > Custom CSS and it will remove the space created by the Code Block itself (17 pixels of padding around it):
.sqs-bloc
How do you hide code blocks from showing up as white space on your website?? This seems like a huge oversight on behalf of Squarespace. Unless there is an obvious way to do it I haven't found yet?
I
Use this CSS
div#block-yui_3_17_2_1_1583627817214_9605 {
padding: 0;
}
How to find block ID. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjo
Question
zaw88 1
How do you hide code blocks from showing up as white space on your website?? This seems like a huge oversight on behalf of Squarespace. Unless there is an obvious way to do it I haven't found yet?
I have code blocks for my anchor links that obviously have to go in specific spots on my page and there's no place for them to just be inline with something else. And when I use "display: none" in the custom css, they stop working.
Any help would be greatly appreciated
Thanks!
Edited by zaw88Initial Revision
Link to post
Top Posters For This Question
2
2
1
1
Popular Days
Mar 8
3
Jul 17
2
Mar 24
1
May 26
1
Top Posters For This Question
paul2009 2 posts
beren 2 posts
zaw88 1 post
tuanphan 1 post
Popular Days
Mar 8 2020
3 posts
Jul 17 2019
2 posts
Mar 24 2020
1 post
May 26 2020
1 post
Popular Posts
paul2009
If you really want to hide ALL code blocks then you can add this to Design > Custom CSS and it will remove the space created by the Code Block itself (17 pixels of padding around it): .sqs-bloc
zaw88
How do you hide code blocks from showing up as white space on your website?? This seems like a huge oversight on behalf of Squarespace. Unless there is an obvious way to do it I haven't found yet? I
tuanphan
Use this CSS div#block-yui_3_17_2_1_1583627817214_9605 { padding: 0; } How to find block ID. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjo
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment