How can I style multiple tables using Extra CSS Classes?
-
Hello,
I’m trying to style multiple tables at once.
For example, I have a template table that I want to use solely for “verbs” throughout. So I added a class “verb” to the Extra CSS Classes section and then I added this code to the custom CSS section:
/*Change the color of hovered over rows in verb tables*/ .tablepress .row-hover .verb tr:hover td { background-color: #00ff00; }
This did not change the hover color. However, when I remove the
.verb
it does change the hover color for all the tables on the site.I looked at the HTML source and it did add the following:
<table id="tablepress-8" class="tablepress tablepress-id-8 verb">
I’m no expert in CSS as you can tell. Any advice would be greatly appreciated.
Thanks,
Bob
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How can I style multiple tables using Extra CSS Classes?’ is closed to new replies.