• Resolved gplusgeek

    (@gplusgeek)


    I would like to set a background image for active, and inactive tabs. I see the class for the active tab state is: “responsive-tabs__list__item–active”, however I don’t see how I can reference the inactive tab state.

    I would like to set a background image for the active and inactive tabs.

    Thanks!

    https://wordpress.org/plugins/tabby-responsive-tabs/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cubecolour

    (@numeeja)

    Try this as a starting point:

    .responsive-tabs .responsive-tabs__list__item {
    background: #009;
    }
    
    .responsive-tabs .responsive-tabs__list__item--active {
    background: #900;
    }

    Thread Starter gplusgeek

    (@gplusgeek)

    Amazingly helpful, thanks! My issue seems to have been the order in which I placed my CSS. I had something like:

    .responsive-tabs .responsive-tabs__list__item–active{}

    and then this:

    .responsive-tabs .responsive-tabs__list__item {}

    I now have everything in the correct order, and it’s working.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Tabs Background Image’ is closed to new replies.