Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
emartin

Too much space above codeblock?

Question

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

Edited by emartin

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

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.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0

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


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...