Block Styles

Created by: Ari Stathopoulos (@aristath)

Rating:
Downloaded: 1k times

Increase the performance of your website by removing the default styles for WordPress-Core blocks, and only enqueue styles for the blocks you use on a page.

You can choose to add styles on the head of your pages, on the footer, inline only when the block exists, or even completely disable styles. And all of that, per-block!

IMPORTANT: Depending on how your theme overrides default styles – if it even does, you may see issues due to the loading order of CSS files, or insufficient specificity from the theme’s CSS rules.
We urge you to experiment with the options for blocks and find what suits your use-case better.

Screenshots

    Categories

    Get New Themes & Resources