Site logo

[Support request] This page has issues with unminified/uncompressed JavaScript and CSS files

Home Forums Support [Support request] This page has issues with unminified/uncompressed JavaScript and CSS files

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2560311
    Heather

    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;
    }
    }

    #2560353
    David
    Staff
    Customer Support

    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/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.