Support » Plugin: TablePress » CSS applied to all tables

  • Resolved vevans2

    (@vevans2)


    Hello!

    I love tablepress!!
    I have like to add a border around my tables. How can I apply this code to all tables?

    .tablepress-id-26 {
    border: 5px solid #DDDDDD;
    }

    Thank you,
    Valerie

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For that, just remove the -id-26 part of the selector:

    .tablepress {
      border: 5px solid #DDDDDD;
    }

    will be applied to all TablePress tables on the site.

    Regards,
    Tobias

    vevans2

    (@vevans2)

    Oh wow, that was easy.

    Thank you,
    Valerie

    Plugin Author TobiasBg

    (@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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS applied to all tables’ is closed to new replies.