Prevent Opening Times Table showing alternate row colors
-
Hello We’re Open team,
We are currenly buidling a website on a localhost and using the We’re Open plugin. In a shortcode we are calling the table class=”hours-right closed-italic past-fade”. (the same problem occurs for any of the table classes which have rows). When it displays on the page the table is showing every even row in a light beige color while the odd rows are matching the page background colour of green. We need to retain the green background colour as it is used on all pages throughout the website. We have tried to switch off the alternating colours in the Custom CSS with various attempts as below, but none are successful. (We know that the backgound colour is being changed on the Opening Hours table because we are calling it in the footer of the website and there it does switch the colour to green on the even rows. But just does not seem to work when called within a shortcode in a page.) Is there a way to stop the alternating colours when used with a shortcode? Thank you.
.opening-hours .hours-right .closed-italic .past-fade .update .open-now day thursday past weekday {
background: #caebeb !important;
}.opening-hours .hours-right .closed-italic .past-fade .update .open-now tr:nth-child(even) td {
background: #caebeb !important;
}.opening-hours .hours-right .closed-italic .past-fade .update .open-now tbody tr:nth-child(even) td {
background: #caebeb !important;
}
- The topic ‘Prevent Opening Times Table showing alternate row colors’ is closed to new replies.