So what exactly is in your CSS opt. exclusion list? And when checking HTML, does AO indeed exclude those files?
frank
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
OK, can you try unticking the “minify excluded CSS/JS”-option (near the bottom of the screen, under misc. options.
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
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
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
OK, best solution in that case indeed is to simply leave “also aggregate inline CSS” off 🙂