0

add_action('admin_head', 'form_custom_fonts');
function form_custom_fonts() {
  echo '<style>
    table.table.table-bordered {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
}
table.table.table-bordered tr:nth-child(odd) {
    background-color: #c4e9ff;
}
table.table.table-bordered th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
}
  </style>';
}

admin Asked question June 4, 2021
Add a Comment