Sprite.png - by Arianna - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp

  • Avatar: Arianna
    Arianna
    Participant
    June 11, 2016 at 23:33

    When I clik on the image the close button on the top are not set very well as you can see in the url image below:

    screenshot

    I found this css to change it but it doesn’t work

    div.pp_default .pp_close {
        width: 30px;
        height: 30px;
        background: url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;
        cursor: pointer;
    }
    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    June 13, 2016 at 10:07

    Hello,

    Please try to add this code in custom.css:

    div.pp_default .pp_close {
       background: url(../images/prettyPhoto/default/sprite.png) 5px 6px no-repeat !important;
    }
    div.pp_default .pp_expand {
        background: url(../images/prettyPhoto/default/sprite.png) 0 -27px no-repeat !important;
        height: 24px !important;
    }

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.