Title: FixedColumns
Last modified: January 19, 2022

---

# FixedColumns

 *  Resolved [timkonings](https://wordpress.org/support/users/timkonings/)
 * (@timkonings)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fixedcolumns/)
 * Hello
 * I used the FixedColumns addon ([https://tablepress.org/extensions/datatables-fixedcolumns/](https://tablepress.org/extensions/datatables-fixedcolumns/))
   but my first column doesn’t freeze…
 * I used [table id=5 datatables_fixedcolumns_left_columns=1 datatables_fixedcolumns_right_columns
   =0 /]
 * I don’t understand…
 * Tnx a lot!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffixedcolumns%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [timkonings](https://wordpress.org/support/users/timkonings/)
 * (@timkonings)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fixedcolumns/#post-15269992)
 * I know already it’s because of the merged cells…
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fixedcolumns/#post-15270116)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Indeed, the reason for why this does not work are the merged cells. This means
   that the JavaScript features can not be used with this table, and that includes
   the FixedColumns script.
    Sorry for not having better news here.
 * Regards,
    Tobias
 *  Thread Starter [timkonings](https://wordpress.org/support/users/timkonings/)
 * (@timkonings)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fixedcolumns/#post-15271497)
 * I found a simple solution in CSS:
 *     ```
       .tablepress-id-5 td:nth-child(1) {
           position: sticky;
           left: 0;
       }
   
       .tablepress-id-5 td:nth-child(1) {
           background-color: #FFFFFF;
       }
       ```
   
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fixedcolumns/#post-15276106)
 * Hi,
 * nice idea! I have seen this approach with fixed headers, but hadn’t considered
   it for the fixed columns. Thanks for sharing this!
 * Best wishes,
    Tobias   P.S.: In case you haven’t, please rate TablePress [here](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   in the plugin directory. Thanks!

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

The topic ‘FixedColumns’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/fixedcolumns/#post-15276106)
 * Status: resolved