Hello, I had AMTS working well and appreciated. Then I took advice and began working on minifying my CSS theme files, including removing all CSS comments such as “Theme Name.” This appears to break function of plugin.
Is there any way to fully minimize theme CSS and still use AMTS?
I think you removed the comments in your style.css of your theme file. Please don’t do that. Those comments are most important for theme to work. So after removing the theme if means that there is no proper information of your theme. So it is not working. Please check this https://codex.wordpress.org/Theme_Development#Theme_Stylesheet . Here you will find infos about it. And technically these are the comments you shouldn’t remove.
Ok, thanks, I’ve since learned that it is impossible to fully static minify a WordPress theme css file, due to the necessity of the header comment stating the name of the theme, and the fact that full minification deletes all comments. I did discover that WordPress theme css file (usually style.css) only needs one comment at the beginning and the rest can by minified. If anyone lands here looking for information, the only comment that’s necessary would look like this, located at exact beginning of the css file: