Jump to content

Different section height for mobile only

Recommended Posts

  • Replies 3
  • Views 226
  • Created
  • Last Reply

Top Posters In This Topic

35 minutes ago, IEn said:

Site URL: http://inventiensemble.com

Hi,

I would like the section height for the first section of the home page to be M, but on mobile only. See screenshot below.

Any ideas how I could do that? Thanks heaps

image.thumb.png.10ec9a27d677cd92bfd02723a5106e50.png 

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  section[data-section-id="62760cee60278307ec5a0674"] {
    min-height: 50vh !important;
  }
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.png.e399d40286c5cad1c49fa47a5f76551d.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.