[Support request] Background color for the Tabs

Home Forums Support [Support request] Background color for the Tabs

Home Forums Support Background color for the Tabs

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #826984
    Bilal

    How can I add the background color for the “Tabs” in single products?

    GP Premium 1.7.8
    #827203
    David
    Staff
    Customer Support

    Hi there,

    try this:

    .woocommerce #content div.product .woocommerce-tabs ul.tabs li {
        margin-left: 0;
        margin-right: 0;
        padding: 0 10px;
        background-color: #ddd; /* All tabs background color */
    }
    .woocommerce #content div.product .woocommerce-tabs ul.tabs li.active {
        background-color: #e82c2c; /* Current tab background */
    }
    .woocommerce #content div.product .woocommerce-tabs ul.tabs li.active a {
        color: #fff; /* Current tab background text */
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.