Jump to content

Embedded code creating extra padding, can't remove

Recommended Posts

Posted

Hello, I'm getting a large gap under an OutplayHQ form that we embedded on our site. I've tried adding this code:

<style>
html.squarespace-damask .sqs-blockStatus {
display: none !important;
}
</style>

to the CSS as that's what I could find as a solution, but it's not working. Tried adding it to the embed code block itself as well, but still nothing. I'm stumped and really need some help. 

Posted (edited)

Absolutely, it's www.masonhub.co, and the page with the issue is www.masonhub.co/pricing

Edited by MHmktg
added second url
Posted (edited)

It appears your grid for the FE section has become distorted.

ScreenShot2023-08-11at1_58_40PM.thumb.png.402b05614198d499bb4cfddda4ba0c6b.png

I suggest making a new FE section and use a Code block instead of an Embed block for the iframe code.

Here is how things look on my test site.

ScreenShot2023-08-11at1_57_32PM.thumb.png.7314d7d43407b89fc18fa7e219b6f3f4.png

ScreenShot2023-08-11at1_58_20PM.png.f1615adef20c4ebe26ef081f60e1ef7b.png

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted

Thank you! I was able to get the form to work as a code instead of embed, but it's still giving me the spacing issue (even when I created a whole new block)

Posted
On 8/16/2023 at 3:37 AM, MHmktg said:

Thank you! I was able to get the form to work as a code instead of embed, but it's still giving me the spacing issue (even when I created a whole new block)

You can use this to Website > Website Tools > Custom CSS to reduce spacing

.fe-64dbe14dbf7a130be157c729 {
    grid-template-rows: repeat(4,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !important;
}

.fe-block-e6d84eee45e7f78a0cde {
    grid-row-end: 4 !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!)

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.