Hi,
thanks for your post, and sorry for the trouble.
Please check if the FixedHeader Extension is activated (as a plugin). Also, please make sure that the “Use DataTables” checkbox is enabled on the “Edit” screen of the table.
Regards,
Tobias
Thread Starter
me9
(@me9)
the plugin is active. I have installed this one: “TablePress Extension: DataTables FixedHeader”
Also i cheked “Use DataTables: Use the following features of the DataTables JavaScript library with this table:”
i cleard cashe and still not working.
Any suggestions?
Thanks
Hi,
ok, the feature is working now, but we’ll need to adjust it a little bit, as your theme also fixes a header at the top of the page.
For that, please add this to the “Custom CSS” on the “Plugin Options” screen of TablePress:
.tablepress-id-1 th {
padding: 9px 24px;
}
Then, extend the Shortcode with another parameter:
[table id=1 datatables_fixedheader="top" datatables_fixedheader_offsettop="51" /]
Regards,
Tobias
Thread Starter
me9
(@me9)
This is not helping. I have kopied your codes to the right place and nouw my table is to wide and header still not fixex.
i cleared cashe zo that is not the problem
Thread Starter
me9
(@me9)
the fixed header of my theme is not necessary. I can try to disable that if there is nog othe solution
Thread Starter
me9
(@me9)
i have disbaled the fixed header and changed code of table press back to normal and nouw my table is still to wide and header also nog wurking.
Hi,
the header is fixed for me (in Google Chrome and Firefox). You might have to try again after logging out of WordPress.
Additionally, you are affected by a slighlty different problem here. For some reason there are extra <pre> HTML tags around the table Shortcode code on that page, which need to be removed. For that, please go to the “Edit” screen of the page and switch from the “Visual” to the “Text” editor mode. Then, remove the <pre> and </pre> around the table Shortcode, so that it stands by itself on its own line.
Regards,
Tobias
Thread Starter
me9
(@me9)
yes i needed to log out. it is wurking. Super.
Do you notice in the top table there is divider line? also below this divider line is a star in table 2 en 3. This is line and also the star below should not be there. How can i get ride of that?
Hi,
great!
Please try adding this to the “Custom CSS” textarea:
.tablepress-id-1 th,
.tablepress-id-1 td {
padding: 8px !important;
}
Regards,
Tobias
Thread Starter
me9
(@me9)
yes it is fixed. Thank you for the good support.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!