Site logo

Archived topic

This page has issues with unminified/uncompressed JavaScript and CSS files

1 reply · Started by Heather on March 8, 2023

Viewing posts 1–2 of 2

Hi guys - I am using Generatepress 3.2.4 My website is assistantadvice.com

I am seeing a message about uncompressed/unminfied Javascript and CSS files from Semrush but don't know how to deal with this.

Warnings (3)
This page has issues with unminified JavaScript and CSS files 207 more issues with unminified JavaScript and CSS files

This page has issues with uncompressed JavaScript and CSS files 1,241 more issues with uncompressed JavaScript and CSS files

How do I go about compressing the script and files?
Thank you for looking at this.

Cheers.

This is what is already in the Simple CSS editor

p.box-link a:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

@media (max-width: 599px) {
.wp-block-column {
margin-bottom: 25px;
}
}

Hi there,

the theme loads minified CSS and JS files for most things, but you have some plugins that are not.
But you can use an otpimization plugin like Autoptimize, WP Rocket etc. to compress/minify your CSS and JS files.

If you want to use Autoptimize we provide a config guide here:

https://docs.generatepress.com/article/configuring-autoptimize/

This archived topic is closed to new replies.