LisaLubrini Posted November 2, 2022 Share Posted November 2, 2022 Hi, How can I make my navigation menu fixed on each page when scrolling? At the moment is only fixed on the landing page and the category are fixed and go on top of the products when scrolling. I will attached screenshot because the website has geotargtly installed and if you aren't in switzerland and you don't have a vpn you will be redirected to the .com website. At the moment the categories are fixed but not the menu. Those are the codes in use: <!-- Disappear Anno - Category on scroll --> <style> @media screen and (max-width:640px) { .sqs-announcement-bar-dropzone { position: static !important; } .ProductList-filter { position: Static !important; } } </style> <style> /* Fix mobile announcement bar */ @media screen and (max-width:767px) { .sqs-announcement-bar-dropzone { top: 83px !important; } } </style> Link to comment
Beyondspace Posted November 2, 2022 Share Posted November 2, 2022 2 hours ago, LisaLubrini said: Hi, How can I make my navigation menu fixed on each page when scrolling? At the moment is only fixed on the landing page and the category are fixed and go on top of the products when scrolling. I will attached screenshot because the website has geotargtly installed and if you aren't in switzerland and you don't have a vpn you will be redirected to the .com website. At the moment the categories are fixed but not the menu. Those are the codes in use: <!-- Disappear Anno - Category on scroll --> <style> @media screen and (max-width:640px) { .sqs-announcement-bar-dropzone { position: static !important; } .ProductList-filter { position: Static !important; } } </style> <style> /* Fix mobile announcement bar */ @media screen and (max-width:767px) { .sqs-announcement-bar-dropzone { top: 83px !important; } } </style> Have you tried using the fixed position for setting style of header yet? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
LisaLubrini Posted November 3, 2022 Author Share Posted November 3, 2022 Hi, I have a 7.0 I don't see this option : ( Link to comment
creedon Posted November 3, 2022 Share Posted November 3, 2022 1 hour ago, LisaLubrini said: I have a 7.0 I don't see this option : ( The fixed option is for v7.1. On v7.0 it will depend on the template whether you have a similar option or if it might be achieved with CSS. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
LisaLubrini Posted November 10, 2022 Author Share Posted November 10, 2022 Hi, DO you know how I can fix this? When I'm on a product page and scroll the Logo, the products page and the cart scroll up and disappear, only the product categories stay fixed. How can I make fixed also the logo, the products page and the cart? Here are the codes in place. css: header.Header--bottom.Header--overlay { position: fixed; background: white } @media screen and (min-width:641px) { .ProductList-filter-list { position: fixed !important; left: 50%; transform: translateX(-50%); z-index: 9999; top: 170px; background-color: white; } } /* Fix mobile announcement bar */ @media screen and (max-width:767px) { .sqs-announcement-bar-dropzone { top: 83px; } } .sqs-announcement-bar-dropzone { position: -webkit-sticky; position: sticky; top: 0; z-index: 10000; } .show-on-scroll-wrapper.show { display: none; } .sqs-announcement-bar-close { display: none; } code injection: <!-- Disappear Anno - Category on scroll --> <style> @media screen and (max-width:640px) { .sqs-announcement-bar-dropzone { position: static !important; } .-ProductList-filter { position: Static !important; } } </style> <style> /* Fix mobile announcement bar */ @media screen and (max-width:767px) { .sqs-announcement-bar-dropzone { top: 83px !important; } } </style> Link to comment
tuanphan Posted November 13, 2022 Share Posted November 13, 2022 What is your site url? We can check the code easier 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
LisaLubrini Posted December 5, 2022 Author Share Posted December 5, 2022 www.aeneis-paris.ch But you'll need a VPN unless you are in Switzerland, otherwise you get redirected on the www.aeneis-paris.com website. There somehow I don't have this problem. Link to comment
tuanphan Posted December 10, 2022 Share Posted December 10, 2022 On 12/5/2022 at 7:40 PM, LisaLubrini said: www.aeneis-paris.ch But you'll need a VPN unless you are in Switzerland, otherwise you get redirected on the www.aeneis-paris.com website. There somehow I don't have this problem. Did you solve? I see header, category bar sticky here https://www.aeneis-paris.com/aeneis-shop-silk-scarves 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
LisaLubrini Posted December 30, 2022 Author Share Posted December 30, 2022 Hi, No I didn't solve it unfortunately. You are on the .com website, to access the .ch website you need a VPN if you are not located in Switzerland. www.aeneis-paris.ch Here is how it looks at the moment, Header not sticky and category bar fixed. Can you help? Link to comment
tuanphan Posted January 2 Share Posted January 2 (edited) On 12/31/2022 at 1:36 AM, LisaLubrini said: Hi, No I didn't solve it unfortunately. You are on the .com website, to access the .ch website you need a VPN if you are not located in Switzerland. www.aeneis-paris.ch Here is how it looks at the moment, Header not sticky and category bar fixed. Can you help? I can't help with this. Tried VPN, but almost provide free version for US or UK Ip only. You try posting to some groups on Facebook: Squarespace Community, Squarespace Customization Resource Group. Edited January 2 by tuanphan 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