CarolineH Posted October 7, 2020 Share Posted October 7, 2020 Site URL: https://www.carolinehainescoaching.com/blog I'm using a Brine template & I have used this CSS code to fix the position of the header: header { position: fixed; width: 100%; z-index: 4; } But now the top of the content on every page is cut off. Is there another bit of code I can use to put a space in the top of each page? Or can I change the header code to account for this? I'm completely stuck. Thanks for any help! Caroline Link to comment
tuanphan Posted October 8, 2020 Share Posted October 8, 2020 Remove above & use this code header.Header { position: sticky; z-index: 9999; width: 100%; top: 0px; } 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
Archived
This topic is now archived and is closed to further replies.