Jump to content

Fit all body content on one page and make it responsive

Go to solution Solved by tuanphan,

Recommended Posts

Hello everyone

Web page: https://name-architects-wip.squarespace.com/project-page-01-ce-1
Password: vaidas

Basically I'd like to have all the elements to fit the height of the browser page by:

1. Making the photo slideshow to fit the browser page height (from top of page to top of footer)

2. Positioning the drawing slideshow at the bottom of the photo slideshow (or top of footer)

3. Making the whole body responsive

Thank you for your help!

Alice

name-architects.jpg

Link to comment
  • Replies 2
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

Use this code to Website > Website Tools (under Not Linked) > Custom CSS

@media screen and (min-width: 992px) {
div#block-yui_3_17_2_1_1706788793207_5146 .sqs-gallery-design-stacked {
    height: 85vh !important;
}
div#block-yui_3_17_2_1_1706788793207_5146 .sqs-gallery-design-stacked-slide img {
    width: auto !important;
    height: 85vh !important;
}
div#block-yui_3_17_2_1_1706883668238_5442 {
    display: none;
}
div#block-yui_3_17_2_1_1706870547985_4501 img {
    width: 100% !important;
    height: auto !important;
    top: unset !important;
    left: unset !important;
}
div#page-section-65bb87a3e84cf00f5fa8cfa1 .sqs-col-12 .sqs-col-2:nth-child(2) {
   height: 85vh !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
body#collection-65bb87a3e84cf00f5fa8cf9f {
    overflow-y: hidden;
}}

 

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