Tablepress: Custom CSS not working with Weaver II theme
-
Hi Tobias,
I had a bunch of custom CSS that WAS working on my tables when I was using a different theme. But I’ve since switched to Weaver II b/c it has way more flexibility on mobile, but since doing that none of my custom CSS is in effect anymore. It was mostly just colors and font styles and stuff (I’ll paste it below) and I’m actually not so concerned about retaining all that.
But what I DO want to do is specify the width of my table as a percentage, or even more specific formatting dependent upon small screen sizes. I see that this can be done through Custom CSS, but not if my theme is preventing the custom CSS from working.
Do you have thoughts on why the custom CSS isn’t working? And if we can figure that out, then I’d like to be able to specify my table as 100% width of available screen size.
here’s my dev site: https://69.195.124.167/~eastbbc2/meeting-directory-2
PS – I know you have a responsive extension, but I’ve reviewed it and my “clients” think the switch from horizontal to vertical will be too confusing for their users.
current custom CSS not working:
.tablepress-id-1 thead th, .tablepress-id-1 tfoot th { background-color: #46361e; color: #ffffff; } .tablepress-id-1 tbody td { font-family: Verdana; font-size: 12px; color: #000000; } .tablepress-id-1 .odd td { background-color: #fef7e4; } .tablepress-id-1 .even td { background-color: #ffffff; } .tablepress-id-2 thead th, .tablepress-id-2 tfoot th { background-color: #ffffff; } .tablepress-id-2 tbody td { font-family: Verdana; font-size: 14px; color: #19489e; } .tablepress-id-3 thead th, .tablepress-id-3 tfoot th { background-color: #46361e; color: #ffffff; } .tablepress-id-4 thead th, .tablepress-id-4 tfoot th { background-color: #46361e; color: #ffffff; } .tablepress-id-4 tbody td { font-family: Verdana; font-size: 12px; color: #000000; } .tablepress-id-4 .odd td { background-color: #fef7e4; } .tablepress-id-4 .even td { background-color: #ffffff; }
- The topic ‘Tablepress: Custom CSS not working with Weaver II theme’ is closed to new replies.