Jump to content

How to make an image auto-adjust to full screen height across devices

Recommended Posts

Site URL: https://www.throughthenoise.co.uk/

I'd like to force the image on my homepage to auto-adjust to be full-height across all screen sizes - this is a working example which I'd like to emulate: https://www.koko.co.uk/.

Being able to add in an anchor-linked down arrow which adjusts with it as in the example above would be fantastic too, although not a priority.

Is anyone able to help me with the code required to do this?

Link to comment

Hi @throughthenoise

To get the section to be full height you need to set the section settings to L or 100, this sets the page to be minimum 100vh (100% of the viewport height).

image.png.72ee405650b3b306c730d2abdc6b8fc8.png

 

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.