Jump to content

Different section heights for mobile vs desktop

Recommended Posts

Posted

Hello!

I'm looking to use custom CSS to resize all section heights to full width on mobile (so there's no image cropping). Please refer to screenshot for desired result. I've only managed to achieve this for gallery slideshows (which are no longer live on the site) using this code:

@media screen and (max-width:767px) {
body.homepage .gallery-fullscreen-slideshow {
    height: 32vh !important;
}
}

But couldn't get it to work for the other sections.

Link for website: https://carnation-grasshopper-68tx.squarespace.com

Any help would be very appreciated!

Carlo

WhatsApp Image 2023-06-27 at 12.34.23.jpeg

  • Replies 1
  • Views 353
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.