Title: Fixed Header not working
Last modified: April 27, 2020

---

# Fixed Header not working

 *  Resolved [ntel](https://wordpress.org/support/users/ntel/)
 * (@ntel)
 * [6 years ago](https://wordpress.org/support/topic/fixed-header-not-working-10/)
 * Hi,
 * In spite of installing + activating DataTables FixedHeader, I can’t seem to make
   it work on my site. Please see referenced page for an example of
    1. Table created
   thru a shortcode `[table id=123 datatables_fixedheader=top /]` on top 2. Table
   create thru a php tag `tablepress_print_table( array( 'id' => $numero, 'responsive'
   => scroll, 'responsive_breakpoint' => all, 'datatables_fixedheader' => top));`
   at the bottom
 * I added the following in my stylesheet, with no success:
    `.tablepress.fixedHeader-
   floating { z-index: 1000 !important; }`
 * Any pointers would be appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffixed-header-not-working-10%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years ago](https://wordpress.org/support/topic/fixed-header-not-working-10/#post-12738050)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Please check if the “Use DataTables” checkbox on the table’s “Edit” screen is
   checked. This one is necessary for the FixedHeader. (The other features, like
   sorting, etc. can be turned off, if you don’t want them.)
 * Regards,
    Tobias
 *  Thread Starter [ntel](https://wordpress.org/support/users/ntel/)
 * (@ntel)
 * [6 years ago](https://wordpress.org/support/topic/fixed-header-not-working-10/#post-12739023)
 * That fixed it. Thank you, Tobias. (PS: already rated your excellent plugin).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years ago](https://wordpress.org/support/topic/fixed-header-not-working-10/#post-12739238)
 * Hi,
 * great! 🙂 Thanks for the confirmation!
 * Best wishes,
    Tobias

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

The topic ‘Fixed Header not working’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/fixed-header-not-working-10/#post-12739238)
 * Status: resolved