• Resolved davidjs

    (@davidjs)


    testing this on a blank install. When it gets activated all the css from this plugin loads in the header. Should it not load css as needed?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Chris Lubkert

    (@clubkert)

    Hi @davidjs – good question. We load it on every page because we don’t know when it’s needed for a pattern. All of our patterns and layouts use only core blocks. If we used a custom block collection we could load it only when one of our blocks are on a page. But since we’re using core blocks, someone could have added the block individually or added one of the patterns from the library.

Viewing 1 replies (of 1 total)
  • The topic ‘All CSS loaded in header – Why?’ is closed to new replies.