Jump to content

Reduce height of code block in editor

Go to solution Solved by Ziggy,

Recommended Posts

Hi there, Im working with a code block that does not need much height. When editing, I cannot reduce the height due to the way the code and block is displayed in the visual editor. This also means I cannot reduce the section row counts to reduce the height of the section either. Any suggestions for a workaround, please see attached? Many thanks. 


Link to comment
  • Solution

Add this to Custom CSS, it should hide the warning messages and reduce that block height:

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

Let me know if that helps!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.