Jump to content

Recommended Posts

Hey,

i'm building a language selector page from scratch with a code block. Everything is working fine except for the resizing. I want the code which is a large image with an overlay with clickable areas. to be the same height as the viewport and the width according to that height. So that the page is not scrollable at all resolutions. And that the code block is always at full height.

www.hydroko.com/hydrokov2

password : Admin

i also tried to do the same without a codeblock so just with an imageblock. 

Can someone help me with this problem. 

Link to comment
  • Replies 1
  • Views 260
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

18 hours ago, matthiassmartfish said:

Hey,

i'm building a language selector page from scratch with a code block. Everything is working fine except for the resizing. I want the code which is a large image with an overlay with clickable areas. to be the same height as the viewport and the width according to that height. So that the page is not scrollable at all resolutions. And that the code block is always at full height.

www.hydroko.com/hydrokov2

password : Admin

i also tried to do the same without a codeblock so just with an imageblock. 

Can someone help me with this problem. 

You can try the following custom CSS

.containermap {
  height: 100vh;
  padding-bottom: 0;
}

section[data-section-id="6643c3ec1e303f06d6d4e864"] .sqs-block .sqs-block-content,
.fluid-engine.fe-6643c3ec1e303f06d6d4e863, 
.fe-block-8f011adeb36ed7a49dd2  {
  height: 100vh;  
}



Let me know how it works on you

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.