matthiassmartfish Posted June 6 Share Posted June 6 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
Beyondspace Posted June 7 Share Posted June 7 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 - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment