Jump to content
Stef's Coding Community
Sign in to follow this  
newseed

Fixed Header

Recommended Posts

Please view this page: jayfastener.com

 

Look at the header.  There is a small section containing the company info (i.e email, phone, etc) and over to the far right is 'My Cart'.

 

Below is the logo and horizontal menu.

 

Now scroll up while watching the header change paying particular close attention to how the email, contact, my cart disappears  thus leaving only the logo and menu fixed to the top.  I know how to do a fixed header but I just don't know how to do it like that one.

 

Anyone know of a short but effective tutorial on how to do that?  I tried grabbing the code from that blog but it was too cumbersome and I could never get it work.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...