BobbieG Posted January 31, 2023 Share Posted January 31, 2023 I'm using the old template 'West' on Squarespace and want to input custom code to make the Main Menu Bar static. I already have customised code in the CSS so when I input the below code, nothing works or messes up the entire interface. Is there something I am doing wrong? Any tips would be most helpful! Thanks // Fixed Header // .Header { position: fixed; z-index: 9999; width: 100%; } Link to comment
tuanphan Posted February 1, 2023 Share Posted February 1, 2023 Hi, What is site url? We can chcek easier 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
BobbieG Posted February 15, 2023 Author Share Posted February 15, 2023 Hi, thanks so much! here it is: https://www.calabashhotel.com Link to comment
tuanphan Posted February 21, 2023 Share Posted February 21, 2023 On 2/15/2023 at 8:11 PM, BobbieG said: Hi, thanks so much! here it is: https://www.calabashhotel.com Main Menu Static: You mean it will sticky to top of screen on scroll? 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
BobbieG Posted November 16, 2023 Author Share Posted November 16, 2023 Yes so it will stay on top whilst you scroll. It was fine doing it with another website but this won't work somehow. Might be because of the template. Link to comment
tuanphan Posted November 18, 2023 Share Posted November 18, 2023 Add to Website > Page > Website Tools > Custom CSS header.Header.Header--bottom { position: sticky; position: -webkit-sticky; top: 0; } 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