Jump to content

Too much space above codeblock?

Recommended Posts

Posted

Hello - I use a codeblock to display a form on my page... https://cides.squarespace.com/register

However, the code block has way too much vertical white space above and below it. Is there a way I can fix this problem? I've attempted to copy CSS code from other postings, but it hasn't worked. Slight handholding deeply appreciated on this one :)

-Eric

  • Replies 5
  • Views 1.4k
  • Created
  • Last Reply
Posted

The spacing isn't related to to the code block. It is the page padding (100px above and below).

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

As this index page is called 'steps', add this to Design > Custom CSS:


#steps .Index-page-content {
 padding: 1px 0px;
}

Change the 1px value to be whatever you want it to be. This is the spacing at the top and bottom of the page section.

Let me know how you get on.

-Paul

Squarespace Expert & Professional Developer

Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers.

Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now closed to further replies.
×
×
  • 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.