awcs Posted November 4, 2020 Share Posted November 4, 2020 Site URL: https://salamander-cowbell-y9xl.squarespace.com/ Hey all, I am using the BRINE template and have managed to make my navigation bar stick to the top of the page on the index page when scrolling using the following code; .Header { position: fixed; width: 100%; z-index: 2000; } However on the regular pages such as About and Contact the navigation bar completely disappears leaving only the logo on the header bottom. (please see the attached files) I should note I have placed the Primary navigation on the Header-Top and the logo on the Header-Bottom as I want the nav bar to have a separate background colour from the logo. My website: https://salamander-cowbell-y9xl.squarespace.com/ Password: Adam2020 Thanks in advanced! Adam Link to comment
Beyondspace Posted November 5, 2020 Share Posted November 5, 2020 It should be .Header--top { position: fixed; width: 100%; z-index: 2000; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
awcs Posted November 6, 2020 Author Share Posted November 6, 2020 Legend! This works a treat, thanks for your time and help with this issue! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.