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.

    The reason why your “Custom CSS” code is not working as expected is that it’s overwritten by some CSS of your theme. We’ll therefore just have to raise its priority, by appending the !important keyword, i.e. just change a line like

    width: 60%;

    to

    width: 60% !important;

    Regards,
    Tobias

    Thread Starter suncity

    (@suncity)

    Hi Tobias,

    thanks for your quick response and now the table is aligned left. is there a way to centre it?

    Thanks again

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    sure! For that, you could also add the command

    margin: 0 auto !important;

    Regards,
    Tobias

    Thread Starter suncity

    (@suncity)

    you are a legend Tobias!!

    Thanks for your assistance and i’ll be sure to recommend this plug in to other people.

    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 ‘table width 100%’ is closed to new replies.