• Resolved Arnd030

    (@arnd030)


    Hi, thanks for the plugin.

    I am wondering: Why is there this inline CSS:

    <div id="psgal_1629_1" class="psgal gallery-columns-9 gallery-size-medium photoswipe_showme" itemscope="" itemtype="http://schema.org/ImageGallery" style="position: relative; width: 800px; height: 2890.97px;">

    Where does it come from? There are no other gallery-related plugins active on my page.

    How do I remove or change the width limit?

    Thanks.

    • This topic was modified 3 years, 5 months ago by Arnd030.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, that is the masonry JavaScript plugin that is used. It calculates the size of the grid on the fly based on the size of your thumbnails and the layout of the page.

    To change the width change the size of your thumbnails or the width of the encompassing div.

    See https://masonry.desandro.com/

    I hope that helps!

    Thread Starter Arnd030

    (@arnd030)

    Thanks for the information, solved this.
    I also needed the gallery to be aligned left rather than center, achieved this via .psgal {margin:0 !important}

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why 800px?’ is closed to new replies.