merrymoondancer Posted November 17, 2020 Posted November 17, 2020 Site URL: https://rootstocanopy.squarespace.com I have a fixed the header on this site but am getting content overlap on the index sections when using jump links to navigate the page. Here is the code I am currently using: /* header freeze */ .Header { position: fixed; z-index: 9999; width: 100%; top: 0px; } .Content-outer { margin-top: 100px; } /* end header freeze */ Link to page for example: rootstocanopy.squarespace.com/consulting Password: roots Thanks for any help!
Guest Posted November 19, 2020 Posted November 19, 2020 Hi @merrymoondancer, I have the same problem. Did you find a solution yet? I am not that good with code and I tried a lot last night. I am tired and planning to get rid of the fixed header. Please let me know if you find a solution. Thanks.
tuanphan Posted November 20, 2020 Posted November 20, 2020 @merrymoondancer Remove your code & add this new code header.Header { position: sticky; position: -webkit-sticky; z-index: 9999; width: 100%; 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!)
merrymoondancer Posted November 24, 2020 Author Posted November 24, 2020 @tuanphan I tried this and it still doesn't work. Still jumps to a point past the header of the section. Anything else to try?? Thank you so much for your help!
tuanphan Posted December 3, 2020 Posted December 3, 2020 On 11/24/2020 at 10:41 PM, merrymoondancer said: @tuanphan I tried this and it still doesn't work. Still jumps to a point past the header of the section. Anything else to try?? Thank you so much for your help! Have you solved it yet? 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.