• Resolved doblerre

    (@doblerre)


    To whom it may concer:
    I added to the CSS Options section the CSS files thrive_flat.css and frontend.css in order to Autoptimize excludes those files in its optimization. However, that configuration does not work and generates I lose the styling of my pages.
    I hope you can help me with this problem.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    So what exactly is in your CSS opt. exclusion list? And when checking HTML, does AO indeed exclude those files?

    frank

    Thread Starter doblerre

    (@doblerre)

    Hello, thanks for your reply.

    Right now, the following value is in the exclusion list:
    wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css, thrive_flat.css, frontend.css
    Here you can see the screen capture of the exclusion list:
    https://share.getcloudapp.com/kpudbmDR

    I have to disabled the “Optimize CSS Code” because it does not exclude the CSS I previous mentioned.

    I hope you can help me with this.

    Regards

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, can you try unticking the “minify excluded CSS/JS”-option (near the bottom of the screen, under misc. options.

    Thread Starter doblerre

    (@doblerre)

    Thanks for your reply.

    I did what you told me but it did not work.

    I capture this video where you can see whatI did and the problem I have: https://share.getcloudapp.com/QwuQ0d6v.

    I hope you can help me with this issue.

    Regards,

    Víctor

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Afraid the video is a bit .. confusing like that Victor.

    Let’s take a step back;
    * when the page breaks, is any CSS loading (check the “network” tab in your browser’s developer tools) or are all or some files returning a 404 “not found” or a 503 “server error”?
    * why did you try to exclude thrive_flat.css, frontend.css?
    * what happens when you untick “also aggregate inline CSS”?
    * what happens when you untick “aggregate CSS”?

    frank

    Thread Starter doblerre

    (@doblerre)

    Hello Frank:

    * when the page breaks, is any CSS loading (check the “network” tab in your browser’s developer tools) or are all or some files returning a 404 “not found” or a 503 “server error”?
    There isn’t error related what you mentioned. See this video for what the Network tab shows: share.getcloudapp.com/kpudbXqD.

    * why did you try to exclude thrive_flat.css, frontend.css?
    Yes, I want to exclude those files from the CSS Optimize in order to avoid disabled the “Optimize CSS Code” option. However, Autoptimize DOES NOT exclude those files because the error persists.

    * what happens when you untick “also aggregate inline CSS”?
    The problem did not appear.

    * what happens when you untick “aggregate CSS”?
    I did not do that because the problem was solved. Is it neccesary to do it? Is better to do the previous one and this one or just the previous one?

    Thnaks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, best solution in that case indeed is to simply leave “also aggregate inline CSS” off ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with CSS Optimize’ is closed to new replies.