Hi,
thanks for your post, and sorry for the trouble.
Unfortunately, I’ll have to disappoint you here. These two Extensions are not compatible and can not be used together, sorry.
Regards,
Tobias
Thread Starter
dakldw
(@dakldw)
Hi,
then the collapse mode is not the best solution for you. It will always start hiding columns from the right, with the “+” sign being able to show them again.
If you simply want to hide columns on small screens, you can use CSS code. For example, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:
@media screen (max-width: 960px) {
.tablepress-id-123 .column-4,
.tablepress-id-123 .column-6 {
display: none;
}
}
@media screen (max-width: 768px) {
.tablepress-id-123 .column-3,
.tablepress-id-123 .column-7 {
display: none;
}
}
Just change the table ID and column numbers as necessary. The pixel values define the screen size at which these columns are hidden.
Regards,
Tobias
Thread Starter
dakldw
(@dakldw)
it worked! you are a genius, thank you so much. now i can use fixedheader extension 🙂
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!