• Resolved Kristian Yngve

    (@kristianngve)


    Hey there!

    Your plugin looks great! 🙂 but, the only thing is borders won’t go.

    May I ask, what do I put in my custom CSS to completely remove borders and the outline (usually that grey or white line left over)?

    I’ve tried & had no luck with:

    .tablepress-id-1 tbody td {
    	border-collapse: collapse;
    	border: none;
    	outline: none;
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Kristian,
    I tried you code here above but by adding the } at the end like here below, and it worked. Try like this.

    .tablepress-id-1 tbody td {
    border-collapse: collapse;
    border: none;
    outline: none;
    }

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Besides this, there might be borders on other elements in the table. Could you therefore please try the CSS code from https://tablepress.org/faq/remove-borders-from-a-table/ ?
    If that also does not help, can you then change the line
    border: none;
    to
    border: none !important;
    please?

    Regards,
    Tobias

    Thread Starter Kristian Yngve

    (@kristianngve)

    Haha, sorry, yes, I do have the }. It must of missed off when I copied and pasted. Not too sure why.

    But it worked for you? I needed up having to #FFFFFF some lines that just didn’t go (or curve round the coded radius borders).

    TobiasBg,

    My wordpress (perhaps theme?) within the CSS custom editor really hates !important. It always alerts me to remove it with a message of a yellow caution warning about the use of it. and when I use it, it has never made an effect.

    I will retry your suggestions at some point (whiting them all out has worked but uncomfortable knowing I failed at this).

    Thank you so much for the replies, will be back to reply here again if it all works.

    Kristian.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Kristian,

    I recommend to paste the mentioned CSS code into the TablePress “Custom CSS” textfield on the “Plugin Options” screen. That way, you should not see such warnings.

    Regards,
    Tobias

    Thread Starter Kristian Yngve

    (@kristianngve)

    Tobias,

    Thank you for all your support, and of course, for your fantastic table plugin.

    I am impressed and would love to 5 star rate it.

    My co-worker wishes and will do so, too.

    Again, thank you.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

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

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Completely removing borders & outline’ is closed to new replies.