Jump to content

How to make sections small when containing code block

Recommended Posts

Posted

Hi, 

I'm having difficulty making a section containing a code block smaller. It's a counting widget I wanted to integrate into my site (see image attached). The code block space doesnt allow for me to push the section up as normal and I was hoping there would be a solution for this with css. 

Thank you to anyone who can help! 

URL: urbanbilling.co.uk

Password: UB123!

Page: Homepage 

Screenshot 2024-01-31 at 11.56.46.png

  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Posted

Yes, add this to Custom CSS and then resize the code block on the page.

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?

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.