Jump to content

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

Recommended Posts

Posted

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?

  • Replies 7
  • Views 4.2k
  • Created
  • Last Reply
Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

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!)

  • 4 months later...
Posted
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!)

Posted
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!)

  • 3 weeks later...

Archived

This topic is now archived and is 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.