Site logo

[Resolved] Adjust Spacing After Blog Post Images in Articles

Home Forums Support [Resolved] Adjust Spacing After Blog Post Images in Articles

Home Forums Support Adjust Spacing After Blog Post Images in Articles

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2399662
    canberk

    Hello,

    After updating Generatepress, the space between the photos and the sentences disappeared. There is no problem with the main images, but the gap between the images in the blog and the photo is almost zero. How can I fix it?

    Example: https://imgur.com/a/a3nOcHG

    #2399839
    David
    Staff
    Customer Support

    Hi there,

    i assume you updated to WP 6.1 ? As it looks like Core made some changes to how the its HTML/Classes/CSS are output.

    Try adding this CSS:

    figure img {
        margin-bottom: 1.5em;
    }
    #2400028
    canberk

    Thank you for your quick response David, it worked.

    #2400252
    David
    Staff
    Customer Support

    Glad to hear that!

    #2427736
    jal-mj

    It also works for me, but It also happens with youtube video. How would be the selector to do the same?

    Thank you.

    #2427742
    jal-mj

    and if you write a description under the image, it doesn’t work well. The space should be after that text, not before it. Any idea to fix this? Thank you.

    #2427746
    Leo
    Staff
    Customer Support

    Can you open a new topic for your question and link us to the page in question?

    Thanks!

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