WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Border styling

[Resolved] Border styling

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Nevermind, I grabbed a code from one of your replies and it worked.
    Thanks for a great plugin

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    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

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

    Enjoy your evening.

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    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!

    Thanks for reminding me, just rated and reviewed.
    Cheers

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    Hi,

    thank you, I really appreciate it!

    Best wishes,
    Tobias

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