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. 

Screenshot2023-04-24at9_34_21AM.thumb.png.c49e1415e6b085df9e0066daaa2a4a10.png

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: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox 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.