WordPress.org

Support

Support » Plugins and Hacks » TablePress » [Resolved] borders won't go away & alignment problem

[Resolved] borders won't go away & alignment problem

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

    @tobiasbg

    Hi,

    thanks for your post, and sorry for the trouble!

    The reason for this is that your theme also contains CSS code that adds borders to tables. To remove everything, we’ll just need to be more strict in the CSS code. Please try again with

    #content .tablepress-id-1,
    #content .tablepress-id-1 tr,
    #content .tablepress-id-1 tbody td,
    #content .tablepress-id-1 thead th,
    #content .tablepress-id-1 tfoot th {
      border: none;
    }

    To align the table to the left, please add this:

    #content .tablepress-id-1 {
      margin: 0 0 1em 0;
    }

    Regards,
    Tobias

    Thanks a lot Tobias! It all works!

    Finally a plugin for tabels that works nice! Thanks!

    Please check http://www.bakkertjebol.nl/wp/openingstijden/

    Is it possible to align the table text to the start of the sentence “De openingstijden van ….”?

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    great to hear that this worked and that you like the plugin! 🙂

    Yes, aligning that text is no problem. Please add this “Custom CSS” to achieve that:

    #content .tablepress-id-1 .column-1 {
        padding-left: 0;
    }

    Additionally, I recommend that you uncheck the “Row Highlighting” and “Alternating row colors” checkboxes on the “Edit” screen of the table.

    Regards,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Worked again!

    Great!

    I’m going to rate now!

    Thanks!

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    very nice! Thanks for the confirmation!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] borders won't go away & alignment problem’ is closed to new replies.
Skip to toolbar