• Resolved lubass76

    (@lubass76)


    Hello, I have looked here and in other places on the internet, I have tried different css codes but I have not been able to do it.
    How could I leave my table (screenshot: https://prnt.sc/qmzpkg), with all the elements centered as in this one, not mine (screenshot: https://prnt.sc/qmzp0c ).
    Thanks a lot

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To center everything, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-1 thead th,
    .tablepress-id-1 tbody td {
      text-align: center;
    }

    You might have to clear the cache of the CSS minification/caching plugin that you are using (“Swift Performance”?).

    Regards,
    Tobias

    Thread Starter lubass76

    (@lubass76)

    Thanks a lot Tobias!

    And yes, Swift Performance Lite 😉

    Regards

    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 3 replies - 1 through 3 (of 3 total)

The topic ‘Centering all elements’ is closed to new replies.