WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Border styling CSS question

[Resolved] Border styling CSS question

  • 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/

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

    @tobiasbg

    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

    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

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    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

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

    Regards, Mark

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Border styling CSS question’ is closed to new replies.