Support » Theme: GeneratePress » Picture captions misaligned in Gutenberg gallery

  • Nice job on the update. Coincidentally, I was playing with the Gutenberg plugin this morning. The linked page is the result.

    Notice that when the window is fairly narrow, the captions in the gallery pictures are more or less centered within the picture margins. As you widen the window however, they move right relative to the picture. The ones on the right side go well out of the picture.

    I tested this with the GeneratePress parent theme and it was the same.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    I’m not able to view the draft, unfortunately. Any chance you can publish the test page so I can see?

    Thanks! 🙂

    Sorry, it actually was published, but I gave you the preview link instead of permalink. Hopefully this will work:
    https://forestpathology.org/temp/

    • This reply was modified 11 months, 3 weeks ago by  Jim.
    Theme Author Tom

    (@edge22)

    Ah, interesting. This is happening because the image container is set to take up that empty space, but the image isn’t wide enough.

    Does this happen using Twenty Nineteen or one of the recent Twenty-x themes? I wonder if it’s a Gutenberg thing that needs to be addressed.

    I couldn’t find Twenty Nineteen or Twenty Eighteen, but here’s what it looks like in Twenty Seventeen. It scrunches all the content to the right, but the captions do look centered as one might expect.
    https://forestpathology.org/wp-content/uploads/2018/11/gallery2017.png

    Since the picture space is much smaller in that theme, that bug could still be there from Gutenberg but not apparent. Hard to tell, for me at least.

    • This reply was modified 11 months, 3 weeks ago by  Jim.
    Theme Author Tom

    (@edge22)

    I think that’s the issue – the gallery is full width in the content, but the images aren’t. To test in GP, change the container width to something more narrow.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Picture captions misaligned in Gutenberg gallery’ is closed to new replies.