Viewing 10 replies - 1 through 10 (of 10 total)
  • cmodesign

    (@cmodesign)

    I have the same question about spacing between gallery thumbnails. I was able to minimize the spacing but I wasn’t able to remove the vertical spacing completely. The problem becomes more apparent when you view on mobile and it only stacks a single vertical column.

    I edited the photoswipe-masonry.php file. Search for:

    .photoswipe_gallery figure {

    Then change padding from 5px to 0px.

    Plugin Author THRIVE – Web Design Gold Coast

    (@deanoakley)

    You can also add the css to your theme css so it’s not overwritten.

    .photoswipe_gallery figure {
    padding: 20px !important;
    }

    Plugin Author THRIVE – Web Design Gold Coast

    (@deanoakley)

    Re: Zoom. You would have to look at the Photoswipe options for this and edit the plugin. It’s not built into the plugin options at this stage sorry.

    http://photoswipe.com/documentation/options.html

    Thread Starter AdiRMG

    (@adirmg)

    Thanks for the solution!

    I will check with Photoswipe for zooming.

    cmodesign

    (@cmodesign)

    Is there any way to remove the vertical padding? I still can’t get that to disappear? I even tried changing the "spacing" variable in the photoswipe.js / min.js files from 0.12 to 0.

    Plugin Author THRIVE – Web Design Gold Coast

    (@deanoakley)

    Try this in your css

    .photoswipe_gallery figure {
    padding: 0 20px !important;
    }

    Thread Starter AdiRMG

    (@adirmg)

    Hi. I have another question.

    The photos that are in portrait orientation are not as wide as the photos that are in landscape orientation and because of this the vertical spacing between them is bigger.

    How can i make them have the same width as the ones that are in landscape orientation?

    Plugin Author THRIVE – Web Design Gold Coast

    (@deanoakley)

    It should be OK. Can you post a link?

    Thread Starter AdiRMG

    (@adirmg)

    I figured it out!

    cmodesign

    (@cmodesign)

    @adirmg, can you post your solution? Did you figure out to to resolve (remove) the vertical padding gap?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change thumbnail spacing’ is closed to new replies.