Title: Fixed header position
Last modified: August 21, 2016

---

# Fixed header position

 *  Resolved [captjones](https://wordpress.org/support/users/captjones/)
 * (@captjones)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/)
 * Hello Tobias!
 * Great work and super support!
 * Is it possible to do like so:
 *  [http://www.upload.ee/image/3235186/Captqure.PNG](http://www.upload.ee/image/3235186/Captqure.PNG)
 * Right now it’s like this:
 * so the fixed header wouldn’t be in TOP position, but .. let’s say 50px under 
   it?
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660179)
 * Hi,
 * thanks for your question.
 * From what I can see from the documentation of the DataTables FixedHeader library,
   this is possible in the JavaScript code.
    However, there’s currently no way to
   directly use this in TablePress. Unfortunately, I’m currently quite busy and 
   don’t have enough time to add this to the Extension within the scope of free 
   support. However, if you are interested, we could work something out, if you 
   would compensate me for my time. If that’s an option for you, please send me 
   an email (the address is in the main plugin file “tablepress.php”), and I’ll 
   take a look.
 * Regards,
    Tobias
 *  Thread Starter [captjones](https://wordpress.org/support/users/captjones/)
 * (@captjones)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660301)
 * But you can do it directly by tweaking oOffset:{top:xxx}.
 * I tested it and changing the offset works. You should definitely add this to 
   the documentation of the plugin- very useful feature.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660302)
 * Hi,
 * thanks for your reply.
 * Can you explain where you found this option and where you have added it?
    I can
   only find [http://datatables.net/extras/fixedheader/options#offsetTop](http://datatables.net/extras/fixedheader/options#offsetTop)
   right now, which is different and can not be used directly, right now.
 * Regards,
    Tobias
 *  Thread Starter [captjones](https://wordpress.org/support/users/captjones/)
 * (@captjones)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660305)
 * Check fixedheader.min.js, should be at line 21 (oOffset).
 * Take a look at jousaal.ee where I used it.
 * Awesome plugin man! Rated 5 stars.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660307)
 * Hi,
 * ah, ok. So you changed it directly in the JS file. That will work of course, 
   but be aware that it’s not a really flexible solution, as this now applies to
   all tables that use this feature, and that you would have to reapply this modification
   if the FixedHeader Extension is updated.
 * Regardless, good to hear that you found a solution! And thanks for the rating,
   I really appreciate it!
 * Best wishes,
    Tobias
 *  [nippon](https://wordpress.org/support/users/nippon/)
 * (@nippon)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660365)
 * How do you fix the table headings they are off to the left of the actual text
   that is suppose to be listed below the heading?
    Also, how can I reduce the size
   of my first column so the column sizes are equal?
 * See website [http://www.inlivingmemory.org](http://www.inlivingmemory.org)
 * Thank you the FAQ’s on borders was very helpful.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660369)
 * Hi,
 * thanks for your post.
 * I believe that this is caused by some CSS from your theme, that influences table
   column widths. Please try adding this to the “Custom CSS” textarea on the “Plugin
   Options” screen of TablePress as a fix:
 *     ```
       .tablepress .column-1 {
         width: auto;
       }
       ```
   
 * That should actually fix both of your questions.
 * Regards,
    Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660390)
 * Hi,
 * just a quick update: I’ve updated the Extension at [https://tablepress.org/extensions/datatables-fixedheader/](https://tablepress.org/extensions/datatables-fixedheader/)
   with a new parameter for the top offset. To use that, just re-install the Extension
   from a fresh download and extend the Shortcode to
 *     ```
       [table id=123 datatables_fixedheader=top datatables_fixedheader_offsettop=40 /]
       ```
   
 * Best wishes,
    Tobias

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

The topic ‘Fixed header position’ 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/)

 * 8 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/fixed-header-position/#post-3660390)
 * Status: resolved