Support » Theme: Hitchcock » First image in Gutenberg galleries does not have proper height

  • Resolved chris1030


    Dear Anders, All,
    When inserting standard galleries (no plugin) with the Gutenberg editor, the 1st image does not have the correct height : it is always a bit shorter than the others (see top of images).

    I could replicate this with clean installs of several of Anders’ great themes (Hitchcock, Hamilton, Fukasawa, …).

    I looked around the CSS with Firefox’s inspector, and have managed to fix this by using the below CSS in my Child Theme’s STYLE.CSS. I just hope I did not break anything else by doing so…

    Here is the code I used to correct this weird behaviour:

    .post-content ol > li:first-child, 
    .post-content ul > li:first-child {
        margin-top: 0;

    (I changed the margin-top from .5em to 0)

    Did anyone experience this ?, and is there a cleaner way to fix this ?…

    Thanks for any suggestions you may have…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén


    Hi @chris1030,

    Apparantly, I had managed to remove parts of the CSS fix for this in Hitchcock. Fixed the fix in version 1.20, which should be available shortly. Thanks for letting me know!

    — Anders

    Hey Anders!
    Thanks for this very quick fix. I have updated my theme this morning, and indeed this seems fixed now. You are wonderful, thanks.

    Great day,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.