Home Forums WoodMart support forum Transparent background in product image gallery

Transparent background in product image gallery

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #398049

    tibetnepalarts
    Participant

    On the single product page, if I click the button “click to enlarge” button lightbox opens. The background is dark as shown in the attached image. Can I make it transparent?

    Attachments:
    You must be logged in to view attached files.
    #398109

    Luke Nielsen
    Keymaster

    Hello,

    Yep, you can make it transparent but it will look weird. Enter the below code to the “Custom CSS for desktop” area in Theme Settings -> Custom CSS.

    .single-product .pswp .pswp__bg {
        background-color: transparent;
    }

    Feel free to reach out to me anytime when you have anything more to say.

    Kind Regards

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