Site logo

[Support request] Images lost their set padding/margins

Home Forums Support [Support request] Images lost their set padding/margins

Home Forums Support Images lost their set padding/margins

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2547062
    Mario

    Hi,

    All the images i have on one of my sites, here a URL example – https://www.avidpup.com/when-do-puppies-start-eating-food-drinking-water/

    All images seem to have lost their padding and margins i’ve set around them.

    When i open a post in the editor i can see that the image is no longer a Generateblocks image but it switched somehow back to a regular image which is probably why the margins dissapeared.

    What could have caused this? and more importantly, how do i fix it without manually(one at a time) switching them back to generateblocks images again?

    One at a time would realy suck cause there are hundreds on the site…

    Thanks,

    #2547609
    David
    Staff
    Customer Support

    Hi tehre,

    try adding this CSS:

    .wp-block-image {
        margin-bottom: 1.5em;
    }
    #2547731
    Mario

    Hi david,

    That will probably work for most of the images but there are are also images with different padding /margin settings.

    I can ofcourse switch them back to generateblocks images again and hope they remain generateblocks images but i doubt they will?

    Can you tell me the probable cause of the generateblocks images to automatically switch to a regular WP image block?

    I seem to have the same problem with Youtube embeds btw.

    Thanks,

    #2547959
    Ying
    Staff
    Customer Support

    Can you tell me the probable cause of the generateblocks images to automatically switch to a regular WP image block?

    I’ve never heard of an issue like this, can’t really tell, but it should not change to a WP image block.

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