Override Neve table CSS hover effect
-
The Neve Style sheet has this CSS
table tbody tr:hover {
background-color: #fbfbfb;
}I have a plugin which displays the results of a form for review from a Gravity Forms.
This plugin builds a table with inline css styles.This gives an effect to the table which we don’t want.
See: https://www.wakefields.co.nz/wakefields-new/Saved-Form.htmlTo be able to overcome the tr:hover effect in the Neve style sheet I have to write very specific css to target each of the different background-color in the table.
eg
.review_all_fields table table tbody tr[bgcolor=”#EAF2FA”]:hover{background-color:#EAF2FA !important;}I have another 4 equally bulky lines of code to do this. So I have solved the problem, but is there an easier way to do this or can you give an option to disable this style.
I have tried
table tbody tr:hover {
background-color: transparent;
}
In my Neve Child-theme css but it just changes the effect.Thanks
Andrew
The page I need help with: [log in to see the link]
- The topic ‘Override Neve table CSS hover effect’ is closed to new replies.