This topic is locked

alternate row color on bootstrap

6/26/2018 4:07:00 PM
ASPRunnerPro General questions
G
gonzalosb author

hi to ALL,

how can i alternate row background color on bootstrap on list, add, edit and view regardless of the content

cccccc

FFFFFF



i try custom CSS on STYLE section but i cant figure this out.
please help.

admin 7/4/2018

You should try something like this in Custom CSS:

.table-striped>tbody>tr:nth-of-type(odd) {

background-color: #ff0000;

}
.table-striped>tbody>tr:nth-of-type(even) {

background-color: #0000ff;

}