deaton72 Posted September 2, 2021 Share Posted September 2, 2021 (edited) Site URL: https://corn-apricot-zn88.squarespace.com/bassettiportfolio I have made my universal filter stick, but it shifts up slightly when you scroll down. Thoughts? I used this code. I had issues initially because the gallery wanted to scroll under the filter so you could see a sliver above it, so I played with the "top" position. Is there a way to make it not shift when it scrolls? I tried removing padding on the summery block and filter container. ALSO - I cannot seem to get rid of the small grey line above the text. I have all borders set to 0. Code I used is: /*universal filter*/ /*position sticky*/ body .custom-filter-container, .custom-filter-parent-node { overflow: visible; position: absolute; } .customFiltersWrapper { position: sticky!important; top: 170px; margin-bottom: 0vh; } #yui_3_17_2_1_1630531262614_676, #yui_3_17_2_1_1630530276084_720, #yui_3_17_2_1_1630531152613_1010 { margin-top: 0vh; padding: 0!important;} #block-6708d6bafe3faea67f02, #block-yui_3_17_2_1_1590076520498_4551, #block-206175b0d9ba3902e4c7 {padding-top: 0!important;} Thanks! Edited September 2, 2021 by deaton72 EarvinChong 1 Link to comment
tuanphan Posted September 5, 2021 Share Posted September 5, 2021 Hi, You mean You want to remove space between filter sticky white bar & header? EarvinChong 1 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!) Link to comment
deaton72 Posted September 21, 2021 Author Share Posted September 21, 2021 @tuanphan I think so. It looks like it "slips" a bit when I scroll. Link to comment
tuanphan Posted September 24, 2021 Share Posted September 24, 2021 On 9/22/2021 at 1:54 AM, deaton72 said: @tuanphan I think so. It looks like it "slips" a bit when I scroll. Hi, The above page doesn't exist 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!) Link to comment
deaton72 Posted September 24, 2021 Author Share Posted September 24, 2021 @tuanphan sorry! i changed my url: https://corn-apricot-zn88.squarespace.com/portfolio Link to comment
tuanphan Posted September 27, 2021 Share Posted September 27, 2021 On 9/24/2021 at 10:40 PM, deaton72 said: @tuanphan sorry! i changed my url: https://corn-apricot-zn88.squarespace.com/portfolio Try changing 170px to 140px EarvinChong 1 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!) 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