jbbbbbbbbb Posted April 21, 2022 Share Posted April 21, 2022 Site URL: https://www.jordanbellvisuals.com/ Hello! Been working on my homepage for this website. I added some code to disable the scroll as I am only displaying a simple menu. The home page looks fine displayed on my desktop, however on my laptop the buttons are all the way at the bottom of screen and the social links are out of screen. Note that: The scale on my laptop is set to 150% which is recommended for that screen size. There is a spacer above the 3 buttons. I was wondering if there is any way I can position the buttons and social links relative to the border so that no matter what screen you look it, they will be in the same position. I hope I explained that clearly enough. Thank you. Link to comment
Beyondspace Posted April 21, 2022 Share Posted April 21, 2022 3 hours ago, jbbbbbbbbb said: Site URL: https://www.jordanbellvisuals.com/ Hello! Been working on my homepage for this website. I added some code to disable the scroll as I am only displaying a simple menu. The home page looks fine displayed on my desktop, however on my laptop the buttons are all the way at the bottom of screen and the social links are out of screen. Note that: The scale on my laptop is set to 150% which is recommended for that screen size. There is a spacer above the 3 buttons. I was wondering if there is any way I can position the buttons and social links relative to the border so that no matter what screen you look it, they will be in the same position. I hope I explained that clearly enough. Thank you. Try #block-yui_3_17_2_1_1649471149246_4050 + .row { position: absolute; top: 40%;; left: 50%; transform: translateX(-50%); width: 100% !important; display: flex; } #block-yui_3_17_2_1_1649369302889_3332 { position: absolute; width: 100%; bottom: 0; left: 0; box-sizing: border-box; } section[data-section-id="624cd66202f62e6c706a6d69"] .sqs-layout > .row > .col { position: relative; } Let me know how it goes on your site 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
Beyondspace Posted April 21, 2022 Share Posted April 21, 2022 My testing with 150% zoom in 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
jbbbbbbbbb Posted April 21, 2022 Author Share Posted April 21, 2022 Thank you bangank36 that worked really well. It does however do this to the mobile version of the website hahaha. Is there some code that will position the buttons vertically and the social links bellow the buttons? Link to comment
tuanphan Posted April 24, 2022 Share Posted April 24, 2022 On 4/22/2022 at 6:12 AM, jbbbbbbbbb said: Thank you bangank36 that worked really well. It does however do this to the mobile version of the website hahaha. Is there some code that will position the buttons vertically and the social links bellow the buttons? Don't remove any code in your current code Add this to Design > Custom CSS @media screen and (max-width:767px) { #block-yui_3_17_2_1_1649471149246_4050 + .row { flex-direction: column; } div#block-yui_3_17_2_1_1649369302889_3332 { position: fixed; }} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jbbbbbbbbb Posted April 24, 2022 Author Share Posted April 24, 2022 Thank you Tuanphan you're a legend!! 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