melaniejaane Posted January 28 Share Posted January 28 https://beehyve.squarespace.com/payment-policy I want to add a sticky sidebar (made of various blocks) and apply it to multiple pages. In 7.1 classic editor, I could make the sidebar blocks collectively sticky by targeting the column within the section, using the code below. Super quick and easy. Is there a way to do this in fluid engine? Feels a lot cleaner than having to target each block for different top heights, especially as I want to add it to a few pages. section[data-section-id="...."] .sqs-layout > .sqs-row > .sqs-col-3 { position: sticky!important; position: -webkit-sticky!important; top: 140px; z-index: 99999; } Thanks all! Link to comment
tuanphan Posted February 1 Share Posted February 1 Do Sidebar as first block, then use this code section[data-section-id="...."] .fluid-engine>.fe-block:first-child { position: sticky!important; position: -webkit-sticky!important; top: 140px; z-index: 99999; } First block means block which you added first in that section. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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