• Resolved Zebra10

    (@zebra10)


    Hi,
    How can remove only the “inner borders” of a table, not the outer border surrounding the table?

    Best
    Brian

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Brian,

    this should be possible with the following “Custom CSS” code that needs to be pasted into the “Custom CSS” textarea on the “Plugin Options” screen of WP-Table Reloaded.

    .wp-table-reloaded-id-N td, .wp-table-reloaded-id-N th {
      border: none!important;
      border-collapse: collapse!important;
      border-spacing: 0px!important;
    }
    .wp-table-reloaded-id-N
      border: 1px solid #000000!important;
    }

    Make sure to adjust the table ID in that code (the N).

    If it does not work, please post the URL to the page with the table.

    Regards,
    Tobias

    Thread Starter Zebra10

    (@zebra10)

    Hi Tobias,

    Unfortunately it doesn’t work – here is the url https://prismobilen.dk/products/test-produkt/

    /Brian

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Brian,

    oh, there’s a small mistake in the code I gave you above.
    There’s a { missing after the .wp-table-reloaded-id-N. And I forgot one command. The correct code for your table should be

    .wp-table-reloaded-id-1 td, .wp-table-reloaded-id-1 th {
      border: none!important;
      border-collapse: collapse!important;
      border-spacing: 0px!important;
    }
    .wp-table-reloaded-id-1 {
      border: 1px solid #000000!important;
      border-spacing: 0px!important;
    }

    Can you try with that again, please?

    Regards,
    Tobias

    Thread Starter Zebra10

    (@zebra10)

    Hello Tobias,

    That did the job, it works like a charm know.
    Thank you so much for your help!

    All the best
    Brian

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Brian,

    no problem, you are welcome!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove only cell borders, not entire table border?’ is closed to new replies.