• Resolved yesyeah

    (@yesyeah)


    Hi, love the plugin. But I’m getting a default 4 column gallery layout. Which is odd when there are say, 6 images, and it ends up being 4 photos on row 1 and 2 photos on row 2.

    How can we override this to say a 3 column layout for one gallery so it’s 3 and 3?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mateusz Czardybon

    (@matczar)

    Hi,

    Is it possible for you to illustrate this problem with a screenshot or a link to the page (if possible) where the issue occurs? I can’t quite picture what the problem is.

    Thread Starter yesyeah

    (@yesyeah)

    Hi!

    Screenshot attached. I’d prefer to not post a public URL if that is okay. If there’s a private support/tix system I’d be happy to do that.

    Here’s an image/screenshot:

    https://snipboard.io/XB0QYz.jpg

    Thanks!!

    Plugin Author Mateusz Czardybon

    (@matczar)

    Thanks for the screenshot – as always, a picture is worth a thousand words.

    Please go to the plugin settings, open the Basic tab, and try increasing the value of the “Row” option. You can also set the “Last row” option to “Justify” – this should help you achieve the desired effect.

    Thread Starter yesyeah

    (@yesyeah)

    Thank you! Totally worked, much appreciation.

    On this note (a bit) is there a shortcode to work to specify alignment of the last row per gallery? Right now the default is align left. Can you add a “justify” or “align center” per gallery via shortcode?

    Thanks!!

    Plugin Author Mateusz Czardybon

    (@matczar)

    Hi,

    In the shortcode, you can set the behavior of the last row using the lastrow attribute. Take a look at the example below:

    [gallery ids="442,443,444,445,446" rowheight="120" lastrow="left"]

    And here is the list of possible values for this attribute: 'justify', 'nojustify', 'hide', 'right', 'center'.

    Thread Starter yesyeah

    (@yesyeah)

    Awesome, thanks so much! GREAT plugin GREAT support. Much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Override default column layout?’ is closed to new replies.