saschulze Posted March 11, 2022 Share Posted March 11, 2022 Site URL: https://www.infinix.com/ Hello, How can I make the navigation menu at the top of our website static (remains at the top) when someone scrolls down on the page? Stephanie Link to comment
tuanphan Posted March 13, 2022 Share Posted March 13, 2022 On 3/11/2022 at 11:48 AM, saschulze said: Site URL: https://www.infinix.com/ Hello, How can I make the navigation menu at the top of our website static (remains at the top) when someone scrolls down on the page? Stephanie You mean make it sticky to top on scroll down? 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
SSchulze Posted March 13, 2022 Share Posted March 13, 2022 Yes, so it stays at the top when scrolling. Link to comment
tuanphan Posted March 14, 2022 Share Posted March 14, 2022 12 hours ago, SSchulze said: Yes, so it stays at the top when scrolling. Hi. DO you use Personal or Business or Commerce Plan? each plan will need a different code to achieve this 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
SSchulze Posted March 14, 2022 Share Posted March 14, 2022 We are on the Commerce Advanced monthly plan. Link to comment
IXStudio Posted March 14, 2022 Share Posted March 14, 2022 Hi, Use this code in Design -> Custom CSS @media screen and (min-width:992px){ div#page-header { position: fixed; top: 28px; z-index: 999999; background: white; width: 100%; } .language { position: fixed; top: 0; background: white; z-index: 99999; width: 100%; } body>div[style="text-align: right;"] { position: fixed; top: 0; background: white; z-index: 99999; width: fit-content; right: 0; } } Please use the like button if it helps you! Best, Leopold SSchulze 1 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
SSchulze Posted March 14, 2022 Share Posted March 14, 2022 Works great! Thank you!!! IXStudio 1 Link to comment
SSchulze Posted March 14, 2022 Share Posted March 14, 2022 I do have a few issues after adding this code so I backed it out. For the pages such as the one below, after I add this code the picture below the menu does not move but also stays sticky at the top. That really needs to scroll up under the menu too. https://www.infinix.com/en/infinix-products Stephanie 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