• Resolved pdonny

    (@pdonny)


    Hello!

    My Template seems to overrule alignment settings. All tables are aligned to Center.
    example: link

    I tried the following css:

    .tablepress-id-5 .column-2 {
    	text-align: left !important;
    }
    

    Do you have an idea?!

    • This topic was modified 9 years, 1 month ago by pdonny.
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.

    Indeed your theme is using rather aggressive CSS code to align the cells in the center.
    Please try this to override this:

    #tablepress-5 .column-2 {
    	text-align: left !important;
    }

    Note how the code uses an HTML-ID-based selector, which has a higher priority than the class-based selectors.

    Regards,
    Tobias

    Thread Starter pdonny

    (@pdonny)

    that works!
    Thank you!

    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 ‘alignment left does not work’ is closed to new replies.