Cadel Posted July 16, 2020 Share Posted July 16, 2020 (edited) Site URL: https://nayatraveler.squarespace.com/journeys-peru-walking Hi, I'm looking to develop my site to have a fixed split section at the very top but I'm unsure how to go about this? Any help would be appreciated! Cheers, Cadel Edited July 16, 2020 by Cadel mgw13723 1 Link to comment
Guest Posted February 7, 2021 Share Posted February 7, 2021 @Cadel i see you did this successfully! would you mind sharing what you ended up doing? Link to comment
tuanphan Posted February 8, 2021 Share Posted February 8, 2021 10 hours ago, viraksrey said: @Cadel i see you did this successfully! would you mind sharing what you ended up doing? I see the site used this code @media screen and (min-width:960px) { section[id*='split-left'] .Index-page-content { position: relative; position: -webkit-sticky; position: -moz-sticky; position: -ms-sticky; position: -o-sticky; position: sticky !important; top: 120px; min-height: 90vh !important; } section[id*='split-left'] { width: 50% !important; padding: 0px 0px; overflow: inherit; }} cvanuch 1 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
scdavid Posted February 24, 2022 Share Posted February 24, 2022 Hi there, is this possible to be done on one page? If so, how can I go about doing that? Link to comment
tuanphan Posted February 27, 2022 Share Posted February 27, 2022 On 2/24/2022 at 7:08 AM, scdavid said: Hi there, is this possible to be done on one page? If so, how can I go about doing that? Edit page >> Add a Code Block (anywhere) > Paste this code <style> @media screen and (min-width:960px) { section[id*='split-left'] .Index-page-content { position: relative; position: -webkit-sticky; position: -moz-sticky; position: -ms-sticky; position: -o-sticky; position: sticky !important; top: 120px; min-height: 90vh !important; } section[id*='split-left'] { width: 50% !important; padding: 0px 0px; overflow: inherit; }} </style> 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment