Title: Make multiple elements stick
Last modified: August 31, 2016

---

# Make multiple elements stick

 *  [bradbpw](https://wordpress.org/support/users/bradbpw/)
 * (@bradbpw)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-multiple-elements-stick/)
 * I am modifying a wordpress based intranet for my company. I’m trying to find 
   a way to make headings stick at the top when scrolling. There are about 20 different
   headings, so I would like the first one to stick, then as I scroll, the second
   heading pushes up the first and sticks, and so on. Does anyone know how to do
   this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Adeline](https://wordpress.org/support/users/adeline/)
 * (@adeline)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-multiple-elements-stick/#post-6992476)
 * I found two tutorials that may be able to help you:
    - [Multiple Sticky Titles with CSS and JS](http://codepen.io/chrissp26/pen/gBrdo)(
      CodePen)
    - [Persistent Headers](https://css-tricks.com/persistent-headers/) (CSS Tricks)
 *  Thread Starter [bradbpw](https://wordpress.org/support/users/bradbpw/)
 * (@bradbpw)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-multiple-elements-stick/#post-6992501)
 * Thank you for the links, Adeline. Unfortunately I’m not experienced enough to
   handle jquery or JS. I think I may be able to do something using a CSS Class 
   but this appears to be more than that.
 *  [Adeline](https://wordpress.org/support/users/adeline/)
 * (@adeline)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-multiple-elements-stick/#post-6992503)
 * Unfortunately I don’t think CSS alone can provide that type of functionality 
   that you’re after. I’ve seen the fixed header work on tables only using CSS eg.
   [CSS Only Fixed Table Headers](http://codepen.io/tjvantoll/pen/JEKIu) (CodePen)
   but that isn’t what you’re after.
 * Can I also suggest for you to ask your question in [Stack Overflow](http://stackoverflow.com/)?
   as you may get more responses there.
 * All the best!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Make multiple elements stick’ is closed to new replies.

## Tags

 * [20q2016](https://wordpress.org/support/topic-tag/20q2016/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Adeline](https://wordpress.org/support/users/adeline/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/make-multiple-elements-stick/#post-6992503)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
