ResolvedPNG product image backgroun on single product

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20834
    webformation99
    Participant

    Hello, I use a number of external 3rd party images and it’s not possible to edit or convert each one. Just found that those in PNG format have a dark grey background (which appears is the same for the lightbox view).
    Is it possible to set the background for the single product view to be white with custom CSS and if so could you please give me a hint what it might be.

    Thanks much!

    #20835
    webformation99
    Participant
    This reply has been marked as private.
    #20861
    Althemist
    Keymaster

    Hi webformation99,

    Yes, it can be done with simple CSS rule.

    div.woocommerce-product-gallery__image a {
        background-color: #ffffff !important;
    }

    Hope this helps.

    Regards,
    Dimitar

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 13285, followers 699
Login and Registration Log in · Register