Jump to content

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

Recommended Posts

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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.