Home › Forums › CSS › Multiple Table Styles on same page in WordPress › Reply To: Multiple Table Styles on same page in WordPress
May 16, 2016 at 1:01 pm
#241697
Participant
I meant in the HTML, set a class-name on the different tables, like doing <table class="table table-purple">
and <table class="table table-yellow">
and so on.
After that target them in CSS. Like:
.table-yellow tr:nth-child(odd) {
background-color: yellow;
}
Have you access to this, or are you using some kind of plugin with javascript? If you don’t have access to the templates, then go with my last answer.