Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You are correct, this is indeed influenced by your theme. To override those styles, please try using this “Custom CSS”:

    #content .tablepress th,
    #content .tablepress td {
      padding: 8px;
    }
    #content .dataTables_wrapper .sorting,
    #content .dataTables_wrapper .sorting_asc,
    #content .dataTables_wrapper .sorting_desc {
      padding-right: 20px;
    }

    The #content basically gives this CSS code a higher priority of the theme CSS, by also using a CSS ID selector.

    Regards,
    Tobias

    Thread Starter rsandoval02

    (@rsandoval02)

    Thanks! Where do I paste this?
    In the Tablepress plugin custion CSS area or in the Theme style editor – and if the latter does it go under the Content portion?

    Thanks,
    Rosannah

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    just paste it into the “Custom CSS” textarea on the “Plugin Options” screen of TablePress.
    That way, it will not be altered by theme updates and you have all CSS that affects TablePress tables in one place.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Padding in Table’ is closed to new replies.