Support

Account

Home Forums Gutenberg One style.css for all blocks

Helping

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

  • Did you ever find a solution for this?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.