Support

Account

Home Forums Gutenberg One style.css for all blocks

Unread

One style.css for all blocks

  • Hello, is it possible to define style for all the blocks inside an unique stylesheet ?

    The global style.css work on the front but not in the Gutenberg preview.
    So I try to enqueu this style in the admin, using this :

    add_action( ‘enqueue_block_editor_assets’, ‘my-style’ );

    But the problem is that the style override the style of all admin wp-UI and not only the style inside the gutenberg preview.

    After searching I don’t find any solution.

    Do you have an idea of how to do it ?

    Thank you

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.