[How To] Remove Block Library CSS from WordPress

Remove Block Library E1664865288404

Gutenberg editor, that is the default editor for latest WordPress installations, uses special CSS libraries to manage blocks on your site’s frontend. If you are using this new WP editor, it will automatically add this library CSS code on your site;

But, if you are not using Gutenberg blocks in any way, you can use the following snippet to remove this extra stylesheet from your theme;

I know this is only one less request on your server, but if you are aiming for 5000 users a day, it is 150k fewer requests a month 🙂

If you love building up with WordPress, you will love our plugins, too. Check them out here!

Comment
Name
Email