HBennett Posted September 2, 2023 Posted September 2, 2023 (edited) Hello I'm really struggling to add simple code to make a section sticky and think there may be a clash of codes going on? My client bought a sqsp 7.1 template which has code to make 2 sections sit beside each other. This is the code: <div data-wm-plugin="split-sections" data-split-count="2" data-split-widths="50%, 50%"></div> I am being asked to make the section containing the above code stick. I have tried using code to make the section stick. This is the code I used: section[data-section-id="63e963c4d2de5b1e0574130e"], {position: sticky !important; top:0; } ...but the sticky code only works if I remove the split-sections code. I don't feel I can share my clients log in info for sqsp so I've recorded a loom to demonstrate: https://www.loom.com/share/3e164af8580f4ed99b36531ab7bdef47?sid=83ffe2af-1655-45fd-a890-3a84c7f18ca9 Can anyone shed any light on what I'm doing wrong. Thanks so much in advance Edited September 2, 2023 by HBennett removed my name
tuanphan Posted September 4, 2023 Posted September 4, 2023 First code is Will Myers Split Section Plugin. It has an option to make section sticky. You can contact Template Author to get this code. Or follow this instructions 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment