kaydotjpg Posted December 21, 2022 Share Posted December 21, 2022 https://pomegranate-aardvark-8rjz.squarespace.com/ password: mamaswhodream Hi! I am trying to have a fixed header on only one of my pages, the "about" page. One thing that might be important to note is that I am using SquareKicker and am using the Sticky Section just below the header. Link to comment
Beyondspace Posted December 23, 2022 Share Posted December 23, 2022 What do you to set on About 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, Lightbox Studio pluginIf 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
tuanphan Posted December 27, 2022 Share Posted December 27, 2022 On 12/22/2022 at 5:28 AM, kaydotjpg said: https://pomegranate-aardvark-8rjz.squarespace.com/ password: mamaswhodream Hi! I am trying to have a fixed header on only one of my pages, the "about" page. One thing that might be important to note is that I am using SquareKicker and am using the Sticky Section just below the header. Add to Design > Custom CSS /* Sticky about header */ body#collection-63a0b40a6d998b5acd339c58 header#header { position: sticky; top: 0; } body#collection-63a0b40a6d998b5acd339c58 section:first-child { padding-top: 0px !important; } 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
kaydotjpg Posted December 27, 2022 Author Share Posted December 27, 2022 (edited) @tuanphan hmm, for some reason, this code is working for only the home page- when I want this to work for the "about" page. Edited December 27, 2022 by kaydotjpg Link to comment
tuanphan Posted December 29, 2022 Share Posted December 29, 2022 On 12/27/2022 at 9:14 PM, kaydotjpg said: @tuanphan hmm, for some reason, this code is working for only the home page- when I want this to work for the "about" page. Just change id to about page id /* Sticky about header */ body#collection-618aa47cbf7c754758787248 header#header { position: sticky; top: 0; } body#collection-618aa47cbf7c754758787248 section:first-child { padding-top: 0px !important; } 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
kaydotjpg Posted December 29, 2022 Author Share Posted December 29, 2022 (edited) @tuanphan thanks for this, but I added it, and it's sticking, but now the header has suddenly change to the color tan, instead of green. I would like the header to stick and be the solid green color and be fixed- so the text scrolls under the header. Can you help me with this? I left it on there so you can see Edited December 29, 2022 by kaydotjpg Link to comment
Solution tuanphan Posted January 2 Solution Share Posted January 2 On 12/29/2022 at 9:46 PM, kaydotjpg said: @tuanphan thanks for this, but I added it, and it's sticking, but now the header has suddenly change to the color tan, instead of green. I would like the header to stick and be the solid green color and be fixed- so the text scrolls under the header. Can you help me with this? I left it on there so you can see You can add background-color into first code to achieve this body#collection-618aa47cbf7c754758787248 header#header { position: sticky; top: 0; background-color: green !important; } 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