Is "legacy" CSS needed? How can it be removed?

Posted in: Newspaper
Post count: 12

Hi,

in order to optimize our website for Google web vitals, we were analyzing CSS and trying to figure out what stylesheets can be safely removed.

Currently the Newspaper theme automatically inserts the following stylesheets in all pages:

– <link rel=’stylesheet’ id=’wp-block-library-css’ href=’https://fantamaster.b-cdn.net/wp-includes/css/dist/block-library/style.min.css?ver=5.3.3&#8242; type=’text/css’ media=’all’ />

– <link rel=’stylesheet’ id=’td-plugin-multi-purpose-css’ href=’https://fantamaster.b-cdn.net/wp-content/plugins/td-composer/td-multi-purpose/style.css?ver=78be34af347704c29acc8080ee49e259&#8242; type=’text/css’ media=’all’ />

– <link rel=’stylesheet’ id=’js_composer_front-css’ href=’wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=4.11.2′ type=’text/css’ media=’all’ />

– <link rel=’stylesheet’ id=’td-theme-css’ href=’wp-content/themes/Newspaper/style.css?ver=10.4′ type=’text/css’ media=’all’ />

– <link rel=’stylesheet’ id=’td-legacy-framework-front-style-css’ href=’wp-content/plugins/td-composer/legacy/Newspaper/assets/css/td_legacy_main.css?ver=78be34af347704c29acc8080ee49e259′ type=’text/css’ media=’all’ />

– <link rel=’stylesheet’ id=’td-standard-pack-framework-front-style-css’ href=’wp-content/plugins/td-standard-pack/Newspaper/assets/css/td_standard_pack_main.css?ver=eccb2c408442ac58c2bcf4360ad09738′ type=’text/css’ media=’all’ />

– <link rel=’stylesheet’ id=’td-theme-demo-style-css’ href=’wp-content/plugins/td-composer/legacy/Newspaper/includes/demos/sport/demo_style.css?ver=10.4′ type=’text/css’ media=’all’ />

The demo stylesheet can probably be removed, what about the others? Are the two “legacy” stylesheets really needed? Is it safe to remove them?

For your information, we’re still using the old visual composer which leverages wp bakery, we haven’t yet migrated to the new td composer.

Thanks

Post count: 21065

Hello!

Some are coming from Composer, so better deactivate this plugin if you do not use it.
Do not use both page builder in the same time!
Standard Pack is used only for default templates and not for a cloud/PRO templates. It is recommend it to uninstall this plugin if you do not use default templates.
The first one is coming from WordPress and it is important.
Ans also, this one – <link rel=’stylesheet’ id=’td-theme-css’ href=’wp-content/themes/Newspaper/style.css?ver=10.4′ type=’text/css’ media=’all’ /> ; which is from the theme and it is important too.

Hope that helps you!

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.