beyondtheblvd Posted February 26 Posted February 26 Hey there! I'm a CSS newbie, and implemented some code that worked at first but now it won't work at all after I deleted one of the site sections. I'm trying to create a sticky effect where the sections overlap one another and stick to the top while scrolling. However, my CSS is causing only the first and last sections to be shown and the others to be hidden. Any help would be appreciated! /* STICKY SECTION ON HOMEPAGE */ section[data-section-id="659a169e3ccbf36378dd37e5"], section[data-section-id="65dbdb890d4b603c5997cb58"], section[data-section-id="65d05d01ecf21f361a7ca870"], section[data-section-id="65d04e238ae412663b344509"], section[data-section-id="65d06f13e72f8b0e75c5c854"], section[data-section-id="65cff1c439fd0c4a7a68409c"] { position: sticky !important; top: 0; }
tuanphan Posted February 29 Posted February 29 Can you share link to page? We can check problem easier 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