Jump to content

Code Block Padding Issues

Go to solution Solved by Ziggy,

Recommended Posts

Posted

site: https://willpaquin.squarespace.com/ 

pw: 20reformette23

 

I'm using a code block to display tour dates on this site and it's causing extra padding to appear at the bottom. (See attached)

Is there any way to get rid of this? I think it may be caused by fluid engine setting the height of the section block while I'm in the editor, and then the code block populating that differently on the page, but not sure. 

Thanks in advance!

Screenshot 2024-05-28 at 1.29.06 PM.png

  • Solution
Posted

You're spot-on about the problem, and part of the issue is the space taken up by the warning message, by getting rid of that you can edit the code block to be shorter. Add this to Custom CSS and then re-edit the page layout:

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

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?

Posted
11 minutes ago, Haley727 said:

Amazing, worked like a charm - thank you so much @Ziggy!

Glad to have helped!

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?

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.