PEARLERwork Posted March 12, 2022 Share Posted March 12, 2022 Site URL: https://flex-mami.squarespace.com/?password=pearler I'm hoping to make my homepage design a fixed height on all browsers - no scroll. I'm struggling to do this when it has 2 sections on the homepage. Current view/Desired view attached Thanks! 𝓚𝓪𝓽𝓲𝓮 ✦✦ ⓅⒺⒶⓇⓁⒺⓇ.ⓌⓄⓇⓀ ➸ Link to comment
PEARLERwork Posted March 16, 2022 Author Share Posted March 16, 2022 @tuanphan @bangank36 would love your help! 🙂 𝓚𝓪𝓽𝓲𝓮 ✦✦ ⓅⒺⒶⓇⓁⒺⓇ.ⓌⓄⓇⓀ ➸ Link to comment
Solution Beyondspace Posted March 16, 2022 Solution Share Posted March 16, 2022 3 hours ago, pearler1570048501 said: @tuanphan @bangank36 would love your help! 🙂 Try adding to Home > Design > Custom Css #collection-62007feac5ad6557038a61b1 { height: 100vh !important; overflow: hidden; } #collection-62007feac5ad6557038a61b1 article { display: flex; flex-direction: column; } #collection-62007feac5ad6557038a61b1 .wm-split-sections { height: 95vh; } #collection-62007feac5ad6557038a61b1 .wm-split-sections > section { padding-top: 0 !important; } #collection-62007feac5ad6557038a61b1 .wm-split-sections + section { height: 5vh !important; } #collection-62007feac5ad6557038a61b1 .wm-split-sections section .content { width: 50% !important; } Let me know how it works on your site PEARLERwork 1 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, Lightbox Studio pluginIf 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
Beyondspace Posted March 16, 2022 Share Posted March 16, 2022 My testing tuanphan 1 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, Lightbox Studio pluginIf 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
PEARLERwork Posted March 19, 2022 Author Share Posted March 19, 2022 @bangank36 Thanks a lot, this worked great. My only other question would be how to add code so that this doesn't apply while in edit mode? It's stopping me from being able to edit the blocks. 𝓚𝓪𝓽𝓲𝓮 ✦✦ ⓅⒺⒶⓇⓁⒺⓇ.ⓌⓄⓇⓀ ➸ Link to comment
Beyondspace Posted March 19, 2022 Share Posted March 19, 2022 2 hours ago, pearler1570048501 said: @bangank36 Thanks a lot, this worked great. My only other question would be how to add code so that this doesn't apply while in edit mode? It's stopping me from being able to edit the blocks. For not applying code in edit mode, you can select the body without edit mode class. With the previous code, you can apply the following code #collection-62007feac5ad6557038a61b1 { &:not(.sqs-edit-mode) { height: 100vh !important; overflow: hidden; article { display: flex; flex-direction: column; } .wm-split-sections { height: 95vh; section { .content { width: 50% !important; } } } .wm-split-sections>section { padding-top: 0 !important; } .wm-split-sections+section { height: 5vh !important; } } } PEARLERwork 1 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, Lightbox Studio pluginIf 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
PEARLERwork Posted March 23, 2022 Author Share Posted March 23, 2022 @bangank36 thanks this also worked how I hoped ✓ Beyondspace 1 𝓚𝓪𝓽𝓲𝓮 ✦✦ ⓅⒺⒶⓇⓁⒺⓇ.ⓌⓄⓇⓀ ➸ 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