Jump to content

Embed block takes unnecessary vertical space in layout

Go to solution Solved by Ziggy,

Recommended Posts

When I use an Embed block, it creates a message that is not part of the final content, but nevertheless enlarges the block and takes space from my layout. It is a particular problem in my footer. In the example below, I use embedded code for a button. Another example would be to add code to automatically keep the year of the copyright notice updated. In both cases, the embed block pushes the bottom of the footer down well below the content and I am unable to pull it back up because of the problem message. Is there a solution?

In edit mode, the footer looks like this:

451328543_Footerwithembed.png.91a51d660cb98c2ed5b60d6f8a17e52c.png

 

And the displayed content looks like this:740784495_Extrafooterheight.png.2b5ae8a8e288638acb3f08dfad08f1f0.png

 

 

 

Link to comment
15 hours ago, LPearlstine said:

When I use an Embed block, it creates a message that is not part of the final content, but nevertheless enlarges the [Fluid Engine] block and takes space from my layout. the embed block pushes the bottom of the footer down well below the content and I am unable to pull it back up

This is a known issue when adding code or embeds to Fluid Engine sections. Although you could use CSS could to temporarily hide these messages, I'd advise against this as this can cause problems with the section editor.

I believe the engineers have plans to move these warning messages and buttons from individual blocks and place them at the bottom of the page instead (see below). In the meantime, you may want to report this issue to Squarespace Customer Care directly.

image.thumb.png.40669bc91c2ab019d3e9de172472d5e6.png

Did this help? Please give feedback by clicking an icon below  ⬇️

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
  • Solution

@LPearlstine I've found that adding this to your Custom CSS helps:

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

It hides the messages that stretch the embed block, and allows you to make it a much better size.

Until there's a fix, I hope that helps you!

Edited by Ziggy
Updated code

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!

🔌 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.