• In style.css it write
    table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    how to make
    table, caption, tbody, tfoot, thead, tr, th, td {
    border: 10;
    in child theme
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • you can use pixel 10px but that would be a really wide border. Try using these styles

    border:1px solid;
    border-collapse:collapse;

    The first makes a border 1 pixel wide and the second command create one line between each cell.

    If you don’t use the second style each cell will have its own border.

    Thread Starter marcophile

    (@marcophile)

    Thanks you how do it in child theme

    it depends on where the tables are located. For example if they are all enclosed in the same class you would use code like this.

    .myclass table, caption, tbody, tfoot, thead, tr, th, td { border:1px solid [color]; border-collaspse}

    Thread Starter marcophile

    (@marcophile)

    the tables are located in pages not in posts

    are there any classes common to all the tables ?

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

The topic ‘Change table border’ is closed to new replies.