WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Border styling (7 posts)

  1. steupz
    Member
    Posted 1 year ago #

    I am unable to obtain vertical borders in a 3 rows two columns table. Any idea what's wrong.
    I am using this css to style the border. (And I did read the FAQ but still not able to get the answer there.

    .tablepress thead th,
    .tablepress tfoot th {
    	background-color: #000000;
    }
    
    .tablepress-id-1,
    .tablepress-id-1 tr,
    .tablepress-id-1 tbody td,
    .tablepress-id-1 thead th,
    .tablepress-id-1 tfoot th {
    	border-color: #000000;
    }

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

  2. steupz
    Member
    Posted 1 year ago #

    Nevermind, I grabbed a code from one of your replies and it worked.
    Thanks for a great plugin

  3. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for the question.

    The "Custom CSS" that you have posted would only change the color of the border, bot not the actual appearance (i.e. its size/width and type). For that, you'll want something like

    .tablepress-id-1,
    .tablepress-id-1 tr,
    .tablepress-id-1 tbody td,
    .tablepress-id-1 thead th,
    .tablepress-id-1 tfoot th {
    	border: 1px solid #000000;
    }

    as the second part of the code. You've probably found that in the other post, right? :-)

    Regards,
    Tobias

  4. steupz
    Member
    Posted 1 year ago #

    Yes, exactly that. Lol.
    Thanks for the reply and I should have quoted it so it could have helped another person.

    Enjoy your evening.

  5. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    ha, nice :-) Thanks for the confirmation!

    Best wishes, and a nice evening, too!
    Tobias

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

  6. steupz
    Member
    Posted 1 year ago #

    Thanks for reminding me, just rated and reviewed.
    Cheers

  7. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thank you, I really appreciate it!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags