Jump to content

Do I have a clash of codes?

Recommended Posts

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 by HBennett
removed my name
Link to comment
  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.