• Resolved dakldw

    (@dakldw)


    how do i make my table responsive and have fixed headers when scrolling at the same time?

    • This topic was modified 6 years, 11 months ago by dakldw.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    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)

    ah okay, i have a couple questions regarding the responsive extension using collapse. when using collapse how can i choose which columns to hide? also how can i get rid of the + sign? i just want to hide the unnecessary columns in mobile view.

    • This reply was modified 6 years, 11 months ago by dakldw.
    • This reply was modified 6 years, 11 months ago by dakldw.
    • This reply was modified 6 years, 11 months ago by dakldw.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    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 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    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!

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

The topic ‘2 Extensions’ is closed to new replies.