Jump to content

How do I constrain the viewing height to the browser window without the scroll showing up?

Recommended Posts

Posted (edited)

Site URL: http://merakisd.squarespace.com

I have added some graphics to the corners of my site's cover page, but I want them to stay in the corners no matter what the browser window height is on desktop, and I also want the page content to be centered relative to the browser height, without a scroll bar showing up. What's the CSS I need for this? 

I also need to add some margin back in to the top. I hid the header and can't figure out the correct CSS to add it back.

http://merakisd.squarespace.com
PW: meraki

Edited by christinedevs
Posted
2 hours ago, christinedevs said:

Site URL: http://merakisd.squarespace.com

I have added some graphics to the corners of my site's cover page, but I want them to stay in the corners no matter what the browser window height is on desktop, and I also want the page content to be centered relative to the browser height, without a scroll bar showing up. What's the CSS I need for this? 

I also need to add some margin back in to the top. I hid the header and can't figure out the correct CSS to add it back.

http://merakisd.squarespace.com
PW: meraki

Website is no longer accessible

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
11 hours ago, christinedevs said:

Site URL: http://merakisd.squarespace.com

I have added some graphics to the corners of my site's cover page, but I want them to stay in the corners no matter what the browser window height is on desktop, and I also want the page content to be centered relative to the browser height, without a scroll bar showing up. What's the CSS I need for this? 

I also need to add some margin back in to the top. I hid the header and can't figure out the correct CSS to add it back.

http://merakisd.squarespace.com
PW: meraki

It looks like you solved with 4 Image Blocks?

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

@tuanphan I'd like for everything to resize within the browser window instead of the scroll bar showing up. In the below image, everything on the bottom gets cut off.

And also the padding/margin is missing at the top.

 

Screen Shot 2022-01-04 at 8.50.16 AM.png

  • 4 months 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.