# Sticky Table Headers in Admin Lists

> Keeps the column headings of posts, pages, users and other admin tables visible while you scroll long lists.

- Type: CSS
- Runs: Admin head
- Category: [Admin](https://wpide.com/library/category/admin/)
- Tags: admin, list-table, css
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/sticky-admin-table-headers/

## Code

```css
@media screen and (min-width: 783px) {
    .wp-list-table thead th,
    .wp-list-table thead td {
        position: sticky;
        top: 32px;
        z-index: 3;
        background: #fff;
        box-shadow: inset 0 -1px 0 #c3c4c7;
    }
}
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Sticky Table Headers in Admin Lists" in its snippet library and add it in one click; or create a new CSS snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
