• Hi, I’ve been testing out your plugin, and have noticed that all the plugin CSS loads in one file which is 97Kb.

    Will it be possible in future to enable blocks selectively, so CSS is not loaded for blocks that aren’t being used?

    Following on, will there be a setting to disable CSS so that you can add any relevant styles to your own theme stylesheet?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Parris

    (@mindctrl)

    @abrightclearweb this is something we’re working on now and will continue to work on in the coming months. We have a fix coming in version 2.0.1 that will reduce the amount of CSS by a pretty good amount. Keep an eye out for that. We’re aiming to launch that next week I think.

    Hi John,

    +1 to that. Your plugin looks great! So would have loved to be able to have used the Container block to make reuseable page sections. But since I can’t disable the other blocks and will get all of the CSS for the other blocks loaded, it doesn’t work for me. So I’ll stick with the native Gutenberg block function and just create multiple reuseable blocks with the built-in functions.

    Also I read that the CSS is loaded even when no atomic Blocks are used.

    So really hope you’ll update this ticket when you add a feature to selectively choose what features you load and not load CSS unnecessarily.

    • This reply was modified 5 years, 7 months ago by barq.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loading blocks & block CSS selectively’ is closed to new replies.