Hi, I’m working on some custom css for a tabbed section, and created a class called .roundedbox that I’ve applied to the tab section. Much of the css I’ve written is working, but I’m trying to change the background color on the tabs-panel, but it is always overridden by the another css. Could you help me figure out what I need to change to override the standard style in this case?
The class to change, as far as I can tell, is .wpb_tabs .ui-tabs .ui-tabs-panel. The background color appears to be coming directly from the bg color of the whole page. I would think that if I add my class to it in the stylesheet (and add !important) it would make my custom class the one used, but it isn’t. Even if I just try changing the style of .wpb_tabs .ui-tabs .ui-tabs-panel without adding my custom class it won’t change the bg color.
The site is hidden behind firewall at the moment so I can’t show it to you live – you’ll have to rely on the screenshot.
Here’s the custom css I’ve tried:
.roundedbox .wpb_tabs .ui-tabs .ui-tabs-panel {
border-style: solid !important;
border-width: 1px !important;
background-color: #A19589 !important;
}