• Resolved secc

    (@secc)


    Hi Tobias.
    I have a little problem. How i can set the left / right padding for the header? Currently the first row content (Eigenschaften) is to much left. The Padding should be similar like the rest of the table (think 8px).

    If i have 3 Tables (6,7,8) and would like to set the first column to 300px. Can i group them with css like this or must i adress them one by one? This would be really practical, because i often have tables for several languages.

    .tablepress-id-6 .column-1 {
    width: 300px;
    }

    Thank you and best regards.
    Manuel

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You could group the CSS like this:

    .tablepress-id-6 .column-1,
    .tablepress-id-7 .column-1,
    .tablepress-id-8 .column-1 {
      width: 300px;
      padding-left: 8px !important;
    }

    I also added the command for the left padding there, with the !important flag to override the CSS of your theme (which is being added with a high priority).

    Regards,
    Tobias

    Thread Starter secc

    (@secc)

    Hi Tobias.
    As always perfect. Thank you for your help.
    Have a nice afternoon.
    Manuel

    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 ‘Padding Header’ is closed to new replies.