• Resolved edaas

    (@edaas)


    Hi community,

    I am trying to set a global background color for all product pages with custom CSS.

    I already tried the following two codes without sucess:

    body.single-product {
        background-color: #f5f7f5;
    }

    and

    }
    .woocommerce #main {
        background-color: #f5f7f5;
        background-image: none;
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Vijay Hardaha

    (@vijayhardaha)

    set background color on #main-content selector using the parent body selectors.

    Thread Starter edaas

    (@edaas)

    I was sucessfull with the following custom CSS

    .single-product #main-content {
        background-color: #000000;
    }
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change background color of woocommerce product pages’ is closed to new replies.