Jump to content

Trying to make the sections in the website cover the screen/the whole viewport. To do that we have added custom code but the changes are not reflecting.

Recommended Posts

We are aiming to make sections of a website cover the entire screen or viewport, the most common approach is to use CSS properties to ensure that each section takes up 100% of the viewport height, regardless of the content inside. But the code is not effecting the sections within the site.

Link : https://quillfish-tortoise-fgct.squarespace.com/
Password bellwether2024

Code used :

section[data-section-id="replace-with-id-number"] {

height:100vh !important;

overflow:hidden !important;

min-height: unset !important;

}

 

Link to comment
  • Replies 1
  • Views 341
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.