Support » Plugin: Lightbox with PhotoSwipe » Customising the plugin

  • Resolved fasm


    HI Arno,
    I really enjoy your plugin ! Thanx
    I jus want to make some change to it like align caption at center, making a white theme etc…
    Is there an easy way to it while keeping your update additions ?
    I just started customizing it (via css) but of course your update erased my modifications.
    Thank you for your attention.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arno Welzel


    Put the CSS rules in the style.css of your theme. And if you are using an official theme and not your own, then create a child theme first, so the theme will not be overwritten by theme updates as well.

    Off course! Thank you!

    I’m just missing something with my “white theme”.
    When I replace the path for my black svg and png “controls” images, the coordinates of arrows and icons are all wrong. I must have forgot something somewhere…

    About that I didn’t understood what are the difference with the 4 different skins?
    Are one of theses for css customisation purposes?

    Plugin Author Arno Welzel


    The skins refer to the subdirectories in “lib/skins”. These contain all the same structure:


    The CSS class names in skin.css are always the same. The only difference are some styles which control the transparency of the header/footer and the arrows. controls.png and controls.svg only differ in the “share” symbol but are otherwise identical.

    The other style sheet is lib/photoswipe.css, which is a global stylesheet used in every skin.

    Ok thank you very much for youyr help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customising the plugin’ is closed to new replies.