Jump to content

How to make lead section adjust to size of screen

Go to solution Solved by tuanphan,

Recommended Posts

Hello!  I want to make the top section of my website take up the full screen for the viewer, regardless of the size of the screen.  As seen below, I'd like to have the top section adjust in size automatically so that the second section begins at the end of the screen. 

is that possible?  Any advice on how to make that happen? 

Thank you!

 

 

image.png

Link to comment
  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
17 hours ago, MadelineDavisTully said:

Yes, here's the URL. https://wccconference.com/

Try this code to Website > Website Tools > Custom CSS

body.homepage article section:first-child {
    min-height: 100vh !important;
    height: 100vh !important;
}

 

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

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.