Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
_matty_h

Native template fixed header

Question

Posted (edited)

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

Edited by _matty_h
Initial Revision

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

@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?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...