Viewing 6 replies - 1 through 6 (of 6 total)
  • Not entirely sure what you mean! Can you give an example or elaborate?

    Thanks!

    Thread Starter mckeeper44

    (@mckeeper44)

    Yes. Here is the table that I am trying to use the sticky header.

    https://www.logomatsdirect.com/mat-selector-guide/

    Alright, I see. Yeah I don’t think my plugin would work for that I’m afraid, since you want to make a part of an element (the table header) sticky, but not the rest (the table body). My plugin can only do complete elements.

    Sorry about that!

    Thread Starter mckeeper44

    (@mckeeper44)

    Shoot. Thank you anyway.

    Just seen that your header is “sticky” now … would be interested in how it has been done.

    Thanks

    Thread Starter mckeeper44

    (@mckeeper44)

    I used a plugin called footable and then had to put some custom coding in my child theme’s footer.php file. I’ve put the code that goes in the footer in this Gist

    In the ‘thead’ of the table I put the class as “stickTable”

    You might have to do some custom css in order to get the header columns and table body columns to line up correctly for your own table.

    Hope this helps.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sticky Table Header’ is closed to new replies.