Avada Forums Community Forum Gutenberg Responsive WordPress Post Embed

Viewing 1 post (of 1 total)
  • Author
  • matthesv
    Post count: 1


    I need help with the Gutenberg Blocks, especially with the function that embeds a WordPress post:

    <figure class="wp-block-embed-wordpress aligncenter wp-block-embed is-type-wp-embed is-provider-matthes-039-privater-blog"><div class="wp-block-embed__wrapper">

    The post is also integrated as far as possible, as can be seen at Joyn Plus. However, it is not responsive.

    Therefore I had added the following code in functions.php

    add_action( 'after_setup_theme', function() {
        add_theme_support( 'responsive-embeds' );
    } );

    This means that videos embedded through Gutenberg are displayed responsibly, but not the WordPress embed posts. I’ve been looking for suitable CSS, but haven’t found a solution to this problem yet. Anyone with an idea?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.