• Resolved feelee

    (@feelee)


    Hi David,
    I updated the plugin to the latest version and now all my galleries are being displayed as a long list of images (1 image per row), whereas before they were organized into columns.
    I haven’t changed any settings except updating the plugin.
    Any ideas about this issue?
    Thanks for your help.
    Filippo

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your report. I regret the formatting trouble the new release is giving you.

    I did make some small changes to the default markup template in this release. The changes make the MLA template more closely aligned to the markup WordPress uses for its [gallery] shortcode. It is entirely possible that these updates are causing the changes you are seeing.

    It would be very helpful if you could post a link to one of your posts/pages that illustrates the problem so I can investigate further. Thanks for your understanding and any further details you can provide.

    Thread Starter feelee

    (@feelee)

    Hi David,

    the site’s a membership site so you need login credentials to access the content, however I created a test gallery which you can see without logging in.

    This is the url: https://www.fashiondirections.com/test-gallery-2/

    Thank you for taking the time to look into this.

    Cheers
    Filippo

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update and for taking the time to create a test gallery and post its link; very helpful.

    I compared your test gallery to my own gallery and I noticed a difference in the styles applied to the gallery-item. It looks like you are using a custom style template; is that right?

    Your styles are:

    #mla_gallery-1 .gallery-item {
    float: none;
    margin: 0.6%;
    text-align: left;
    }
    

    The default styles would be:

    #mla_gallery-1 .gallery-item {
    float: none;
    margin: 1.5%;
    display: inline-block;
    text-align: center;
    width: 9.5%;
    }
    

    I don’t know why the changes I made in HTML markup would cause the problem you are seeing, but adjusting the styles you are applying to the gallery should allow a solution.

    I will leave this topic unresolved until you respond. Let me know if adjusting your styles corrects the problem.

    Thread Starter feelee

    (@feelee)

    Thank you David,
    indeed the problem was with the style I was applying (specifically the display: inline-block; property, which I had removed…).
    Having adjusted the style (adding the display property back into my custom template) has corrected the problem.
    Please consider this topic resolved.
    Thanks again,
    Filippo

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update confirming the cause and solution for your issue.

    I am marking this topic resolved, but please update it if you notice any other issues with the latest MLA version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gallery misaligned after v2.90 update’ is closed to new replies.