_matty_h Posted July 6, 2019 Posted July 6, 2019 Hi, I am using the Native template and need to have the header and footer in a fixed position at the top of the screen when a user scrolls. Can someone give me a CSS code for this to happen? Thanks
tuanphan Posted July 11, 2019 Posted July 11, 2019 @mattyh Try CSS /* Fixed Header */ header#header { position: fixed; top: 0; width: 100%; padding-top: 80px; z-index: 999; } div#pageWrapper { margin-top: 180px; } You want fixed footer to top? 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.