Jump to content

How can I adjust the height of a section (hero image) on mobile and tablet?

Recommended Posts

Site URL: https://rhino-cat-dfeb.squarespace.com

site password: demo 

I would like to adjust the height of my first section for mobile and tablet so that the next sections will shown on the first frame. 

I tried this code but it is now working. 

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

I hope you can help! 

Screen Shot 2021-10-28 at 11.24.38 AM.png

Link to comment
On 10/28/2021 at 10:28 AM, GRED said:

Site URL: https://rhino-cat-dfeb.squarespace.com

site password: demo 

I would like to adjust the height of my first section for mobile and tablet so that the next sections will shown on the first frame. 

I tried this code but it is now working. 

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

I hope you can help! 

Screen Shot 2021-10-28 at 11.24.38 AM.png

Is it the result you want to achieve?

image.png.c27788a556acfaaf7237e6244492856f.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.