semigrownkid Posted October 1, 2022 Share Posted October 1, 2022 (edited) Site URL: https://uxplaybook.org/ux-accelerator Hello @tuanphan I need help making this block sticky (fluid engine) #block-yui_3_17_2_1_1664264642296_1491046 How do I make this block stop at the footer? Quote /* Text sticky */ @media screen and (min-width:768px) { .fe-block.fe-block-yui_3_17_2_1_1664264642296_1491046 { position: sticky; top: 200px; position: -webkit-sticky; z-index: 999; }} Edited October 1, 2022 by semigrownkid Link to comment
Beyondspace Posted October 1, 2022 Share Posted October 1, 2022 4 hours ago, semigrownkid said: Site URL: https://uxplaybook.org/ux-accelerator Hello @tuanphan I need help making this block sticky (fluid engine) #block-yui_3_17_2_1_1664264642296_1491046 How do I make this block stop at the footer? Quote /* Text sticky */ @media screen and (min-width:768px) { .fe-block.fe-block-yui_3_17_2_1_1664264642296_1491046 { position: sticky; top: 200px; position: -webkit-sticky; z-index: 999; }} I check that it is set sticky within the current section. Do you need to set it fixed for entire page? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
semigrownkid Posted October 1, 2022 Author Share Posted October 1, 2022 7 hours ago, bangank36 said: I check that it is set sticky within the current section. Do you need to set it fixed for entire page? Yes please. It needs to be fixed until the footer (but not for anything above it) Link to comment
couldbegood Posted January 13 Share Posted January 13 Hello - did you manage to get the block to be fixed over the whole page (I am assuming multiple sections? I can only get it to stick to one section Thanks Link to comment
tuanphan Posted January 15 Share Posted January 15 On 1/13/2023 at 6:36 PM, couldbegood said: Hello - did you manage to get the block to be fixed over the whole page (I am assuming multiple sections? I can only get it to stick to one section Thanks If fixed whole page, I think you need to use position fixed not sticky 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
couldbegood Posted January 19 Share Posted January 19 On 1/15/2023 at 9:27 AM, tuanphan said: If fixed whole page, I think you need to use position fixed not sticky This is the code I'm using in the page header: #block-yui_3_17_2_1_1673604221221_17626{ position: fixed; top: 40%; left: 96%; transform-origin: 100% 0; z-index: 9999; width: 40px; } But only appears for that section unthinkable.squarespace.com unthinkable Thanks Link to comment
tuanphan Posted Thursday at 08:02 AM Share Posted Thursday at 08:02 AM On 1/19/2023 at 10:37 PM, couldbegood said: This is the code I'm using in the page header: #block-yui_3_17_2_1_1673604221221_17626{ position: fixed; top: 40%; left: 96%; transform-origin: 100% 0; z-index: 9999; width: 40px; } But only appears for that section unthinkable.squarespace.com unthinkable Thanks Which page are you referring to? I don't see this block on homepage 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