• Resolved seotaro

    (@seotaro)


    Hello.

    I made a gallery block and set the column to 2.

    But the column is not applied as shown in the gutenberg editor.

    All the images are applied in a stacked (1 column).

    To solve this problem, I tried to make stagging site and removing all applied css and plugins, but I still have the same problem.

    first two images in the post I linked to are galleries.

    Can you please tell me how to resolve this issue?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @seotaro – gallery columns intermittently stacking when they shouldn’t be is a known cache-related issue previously reported here. It should be fixed in WP 6.1.2, or 6.2, whichever is released first.

    Here are some related threads and GitHub issues/Pull Requests, if you’re interested:

    That said, I the images in the two-column gallery at the top of the post you linked to above does seem to be appearing in two columns on my end, as expected. Here’s what I see:

    Does it look like this on your end as well?

    Thread Starter seotaro

    (@seotaro)

    Hi, @zoonini

    I read your link and realized that it’s the object caching I’m using.

    I did that and now the gallery is displaying fine.

    But I don’t know how to solve that problem without disabling object caching…

    The link you gave me is too difficult for me to understand

    Is this problem fixed in WordPress 6.1.2 or 6.2?

    Or Do I have to resort to tweaking the flex-wrap css?

    Moderator Kathryn Presner

    (@zoonini)

    I did that and now the gallery is displaying fine.

    Great!

    But I don’t know how to solve that problem without disabling object caching…

    The link you gave me is too difficult for me to understand

    Is this problem fixed in WordPress 6.1.2 or 6.2?

    WordPress 6.2 will be released at the end of March and should include a fix for the issue.

    WordPress is currently on version 6.1.1 and I don’t know if there will be a point release (6.1.2) before 6.2 comes out. If there is, that version should include the fix as well.

    Or Do I have to resort to tweaking the flex-wrap css?

    If you don’t want to wait for the upcoming fix to be released, you can definitely try a CSS fix, there’s one at the top of this issue you could try.

    Thread Starter seotaro

    (@seotaro)

    11

    • This reply was modified 2 years ago by seotaro.
    Moderator Kathryn Presner

    (@zoonini)

    Hi @seotaro – looks like you edited your post and I no longer see any text other than “11” – did you mean to post another question or are you set for now?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘gallery block’s column are not applied.’ is closed to new replies.