Fluid Engine Spacing Issue with Code Block Warning Message

Squarespace Embedded Scripts warning message
 

If you are using scripts in code blocks in Squarespace to add custom code to your website, you may have come across a warning message that appears instead of rendering the script. This warning message is simply a note from Squarespace that embedded scripts are disabled whilst editing. Although this is worth noting, it causes a problem in Fluid Engine as the warning message itself takes up a number of rows, which when saved become blank spaces underneath the code and create excess padding that can’t always be removed.

In this situation, I have found that hiding this Embedded Scripts warning message is possible via a few lines of Custom CSS (see grey box for style code).

Please give this a go yourself and let me know if it works!

html.squarespace-damask .sqs-blockStatus, .sqs-block .removed-script {
display: none !important;
}

Zygmunt Andrew Spray

Zygmunt, or "Ziggy" to family and all of you friends, travels the world, breathing visual storytelling. He lives behind a camera lens capturing the inexpressible moments that, in summation, become our life's story and a larger narrative on the human experience. Indulge yourself in his beautiful work at Zygmunt Spray Photography and 500px.

https://squarefortytwo.com/
Previous
Previous

Add a Site Wide Password to Your Squarespace Website

Next
Next

Adding Anchor Links on Squarespace