WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Border styling CSS question (6 posts)

  1. MarkFL
    Member
    Posted 1 year ago #

    Hi Tobias,

    I am struggling with the styling to achieve a border around the outside of the entire table rather than on every cell. Hoping you can help with the CSS which currently is:

    '.tablepress-id-29 thead th,
    .tablepress-id-29 tbody td {
    border: 2px solid #8C480D;
    }'

    Many thanks for your help,
    Mark

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Mark,

    to get a border around the entire table, please try

    .tablepress-id-29 {
      border: 2px solid #8C480D;
    }

    If that does not help, please post the link to the page with the table.

    Regards,
    Tobias

  3. MarkFL
    Member
    Posted 1 year ago #

    Hi Tobias,

    That worked first time, thank you! One small thing, you can see the lines between each row and I'd rather they weren't visible. The site is under wraps at the moment so don't want to link to it publicly - I can send it privately to you though?

    Thanks again.
    Mark

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Mark,

    sure, you can send me an email (the address is in the main plugin file "tablepress.php").
    It might however be quicker if you first try the "Custom CSS" from the question "How do I remove the borders from a table?" in the TablePress FAQ at http://tablepress.org/faq/
    You'll just have to remove the very first line of that, and I recommend to place that before the CSS code that I posted above.

    Regards,
    Tobias

  5. MarkFL
    Member
    Posted 1 year ago #

    Perfect! Thanks Tobias, brilliant, quick, helpful support.

    Regards, Mark

  6. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Mark,

    great to hear that this helped! :-) You are very welcome!

    Best wishes,
    Tobias

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic