Jump to content

How can I make a page section height smaller in 7.1?

Recommended Posts

On 11/17/2020 at 11:43 PM, laurenruth1 said:

Hi there,

I'm looking at making a page section smaller in 7.1, smaller than the standard 'smallest' height option Squarespace gives you when you edit it's format.

How do I do this please?

how small you want it? did you make the spacing option to zero?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

You can try adding this to Design > Custom CSS

[data-section-id="enter id here"] {
	min-height: 5vh !important;
}

Find data section id with this tool. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

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
  • 4 months later...
On 4/17/2021 at 8:43 PM, kfalconer said:

thank you @tuanphan

you are always wonderfully helpful!

I tried this solution, but there was no change:

[data-section-id="#block-607ae0ffbbe78470128537c4"] {
    max-height: 40px !important;
}

https://consciouscityguide.com/conscious-city-guide-home

with gratitude!

Screen Shot 2021-04-17 at 8.41.14 AM.png

You can't set it max-height 50p. Header will overlap it.

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
On 4/27/2021 at 2:57 AM, kfalconer said:

thank you @tuanphan

is there any way to make a super small section here?

Add to Design > Custom CSS

/* pink bar */
[data-section-id="607ae0ffe24f453c1b5fbb45"] .content-wrapper {
    padding-top: 10px !important;
    padding-bottom: 5px !important;
}

image.thumb.png.0c70c51973f97ba5369da5d069abac20.png

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
  • 3 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.