• Resolved Manuel

    (@jokermanu)


    Hey there, first of all I want to say the plugin is great and I just have a small question: is it possible to assign different heights to different galleries? For example, the images in gallery #1 should be 230px high, in gallery #2 the images should be 130px high.

    Thank you in advance and best regards,
    Manuel

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

    (@matczar)

    Hi,

    Yes, it is possible. With the “rowheight” parameter you can set the row height for each gallery:

    [gallery ids="xx,xx,xx" rowheight="230"]

    [gallery ids="xx,xx,xx" rowheight="130"]

    Thread Starter Manuel

    (@jokermanu)

    Thanks for the reply, Mateusz.

    That half works. In the frontend, the images are displayed at the correct height, but the Gutenberg block is broken. If I click on “Attempt block recovery”, the “rowheight” parameter is gone again.

    Any ideas?

    Plugin Author Mateusz Czardybon

    (@matczar)

    Hi,

    Sorry for the late reply.

    You’re right – in the block editor this parameter will not work and adding it will make the block invalid. However, you can switch the block into HTML view, extract the gallery’s shortcode, add this parameter and embed it in the “Shortcode” block.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘different row heights for different galleries’ is closed to new replies.