• Wondering if anything was ever figured out on a post here that was closed without any resolution regarding an arbitrary 2rem margin that is added to the top & bottom of image blocks when the image resolution is set to ‘Full Size’ (see: https://www.ads-software.com/support/topic/wp-block-image-size-fullmargin2rem-0/).

    No screenshots should be necessary, it’s a pretty obvious issue. Insert an image block inline with some content. Set the resolution on the image to ‘Full Size‘. Go to the front end and examine the styles on the <figure> element. There is a style added (targeting ‘.wp-block-image.size-full‘) with 2rem top & bottom margin that overrides the default figure style of ‘0’ margin. This extra margin style is not applied when a different resolution is chosen (e.g, Large, Medium, etc.).

    I can obviously override this override. But that makes for convoluted styles, especially if the issue is changed or corrected with some future update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @kennyll,

    Trying to replicate the case and this is what I have [screnshot]

    Please let me know if I am missing something.

    Kind regards,
    Herman ??

    Thread Starter KennyLL

    (@kennyll)

    I believe the style is changed or injected when setting Block Editor > Core Blocks Spacing to ‘Legacy‘ in Customizer.

    Hi @kennyll,

    Actually, Legacy has been deprecated. You still have it because you are Astra old user. You might consider using other than Legacy work for you?

    Let us know if you need more help, otherwise please mark the topic as Resolved.

    Kind regards,
    Herman ??

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