Title: DataTables FixedHeader not working
Last modified: November 11, 2016

---

# DataTables FixedHeader not working

 *  Resolved [BitEdge](https://wordpress.org/support/users/whatwhatwhatwhat/)
 * (@whatwhatwhatwhat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/datatables-fixedheader-not-working-4/)
 * Hi guy’s
 * I have activate the DataTables FixedHeader extension/plugin and entered this 
   shortcode
 * [table id=4 datatables_fixedheader=top datatables_fixedheader_offsettop=200 /]
 * on this page
 * [https://www.bitedge.co/sports-betting-tools-and-resources/odds-conversion-table-with-probability/](https://www.bitedge.co/sports-betting-tools-and-resources/odds-conversion-table-with-probability/)
 * I have ticked the Use DataTables: box on table id 4’s edit page.
 * As you can see there is no fixed header. Am I missing something?
 * Cheers

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/datatables-fixedheader-not-working-4/#post-8423427)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Due to small incompatibility, you will need some CSS to make the fixed header
   visible. Please add this to the “Custom CSS” textarea on the “Plugin Options”
   screen of TablePress:
 *     ```
       .tablepress.fixedHeader-floating,
       .tablepress.fixedHeader-locked {
           z-index: 100;
       }
       ```
   
 * You might have to flush your caching plugin’s cache (PageSpeed) afterwards.
 * Regards,
    Tobias
 *  Thread Starter [BitEdge](https://wordpress.org/support/users/whatwhatwhatwhat/)
 * (@whatwhatwhatwhat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/datatables-fixedheader-not-working-4/#post-8423532)
 * Thanks that works. BTW I notice if you set the offset while logged in you will
   get it wrong for people who are not logged in because it does not account for
   the WP toolbar.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/datatables-fixedheader-not-working-4/#post-8423561)
 * Hi,
 * good to hear that it’s working now! And yes, you are correct with that observation,
   the WP toolbar would require a modified value, but one can only set one 🙁
 * Regards,
    Tobias

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

The topic ‘DataTables FixedHeader 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: [9 years, 9 months ago](https://wordpress.org/support/topic/datatables-fixedheader-not-working-4/#post-8423561)
 * Status: resolved