Jump to content

SVGator animation to Code Block

Recommended Posts


I did an javascript animation in SVGator. It is in 1:1 format ... but when I paste the code in CODE block the format changes. It seems like SQSP adds blanc space under the image and changes the height of the section. 
Does anyone have the same problem or a solution?

A Html programmer I got to help me could not solve the problem.

Attached is a screenshot with explaination.


has sample animations in 1:1 format

Thanks, hope someone can help:)

Orn Smari

Added blanc space.png

Edited by Clover
Link to comment
  • Replies 8
  • Views 362
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add this to Custom CSS:

html.squarespace-damask .sqs-blockStatus {
    display: none !important;

It should hide the warning messages and allow you to correctly size the block.

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
On 2/15/2023 at 9:13 PM, Clover said:


Thanks !

Yes, exactly,

There is always a large blanc space added below the image so I can´t have the Section height smaller than the image frame, that should be in 1:1 format.


Added blanc space 2.png

You can consider using Classic Editor Section for this case


Or add this into Code Block

  .fe-63e8e9ff4f34bb4d295b8548 {
    grid-template-rows: repeat(5,minmax(calc(var(--container-width) * var(--row-height-scaling-factor)), auto)) !important;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...

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.