• Resolved webtrainingwheels

    (@webtrainingwheels)


    I activated the plugin.
    Disabled Lightbox in the settings.
    I haven’t added any block from Advanced Gutenberg to my pages, but this CSS file is loaded on every page – why?
    /wp-content/plugins/advanced-gutenberg/assets/css/blocks_styles/blocks.min.css?ver=5.0.3

    Is there some other default setting I need to turn off?
    I would expect that CSS/JS from Advanced Gutenberg would only be loaded on pages where I’m using AG blocks.
    Thanks!

Viewing 1 replies (of 1 total)
  • Hi,

    Thanks! This CSS file is not only related to lightbox feature but to the whole plugin features, that’s why it loaded on all gutenberg pages. Currently we haven’t succeed in isolating block file per page.
    I understand the concern here, but it won’t produce a huge performance impact, the file is not that big and it’s minified (unless you’re using 10 Gutenberg plugins).

    Cheers,

Viewing 1 replies (of 1 total)

The topic ‘CSS file loaded by default’ is closed to new replies.