Sticky content is a div that will stay at a certain point on the page even after scrolling. Also known as a sticky bar. Here is how to accomplish this with jquery and css.

The javascript




The html


This is some sticky content

The CSS


#sticker {background:red; width:80%; height:50px; text-align:center; color:#FFF}
.stick { position:fixed;top:0; }

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.