• In a simple test page, I added an embed that references the link shown in the code snippet below. Unfortunately, the embed is not spanning the full width of my page, in a similar way to the paragraph block. I am pretty sure this was working, which is why I am reporting this here.

    If this needs to be achieved with custom CSS then could this be documented somewhere.

    To reproduce:

    1. Create new page on blog ( Genesis Framework , Metro Theme
    2. Add the default embed block with desired url.
    In the html edit edit pane:

    <figure class="wp-block-embed-wordpress aligncenter wp-block-embed is-type-wp-embed is-provider-cycling-locations"><div class="wp-block-embed__wrapper">
    https://www.cyclinglocations.com/sa-calobra-climb-mallorca
    </div></figure>

    3. Preview ( and sigh) ?? as showing the mountain in half the page reduces the dramatic effect.

    Note, I have also tried the WordPress embed without success.

    Gutenberg 7.0
    WordPress 5.3
    Genesis Framework 3.2.1

Viewing 1 replies (of 1 total)
  • Thread Starter westerdaled

    (@westerdaled)

    It looks like the issue is with the embed having a iframe width attribute of 500px instead of 100%. So how can change this at runtime . If it is jQuery then so be it ;-(

Viewing 1 replies (of 1 total)
  • The topic ‘Embed not spanning the full width of the page’ is closed to new replies.