JQuery UI Tabs Background Color

demitchell14 picture demitchell14 · Mar 9, 2013 · Viewed 23.8k times · Source

I'm trying to change the background of the tab area.. like, You have a list of tabs, and I know how to change the color of each individual tab, but I was wondering if you could change the color of the background of all of that. Normally it's the dark gray color, and the tabs are the light gray. I was wanted to change those colors to maybe either a light blue, or light green, and I've tried changing the CSS of everything I could find relating to the UI Tabs, and none of them worked.

Answer

Dom picture Dom · Mar 9, 2013

You want to change .ui-tabs .ui-tabs-nav.

CSS:

.ui-tabs .ui-tabs-nav
{
background: lightblue;
}

.ui-tabs .ui-tabs-panel /* just in case you want to change the panel */
{
background: blue;
}