• Hi,

    I followed the official directions on making W3TC work with Hueman from here.

    I use a minimal child theme, with only a style.css making a few layout changes.

    After I input the minification settings, my child theme’s style.css is no longer being used.

    What I did different from the above guide’s CSS Minify section was:

    * Under “CSS file management:” I input the hueman child theme I’m using!
    * I used the “Add a style sheet” button and I input the 2 Hueman CSS files as shown in the guide, plus my child theme style.css. I added it as a 3rd option. And I also tried as a 1st option. It is completely disregarded in both cases.

    Perhaps I should input settings for the parent theme alone there? Despite using a child theme?

    Also I tried with @import and without @import in my child theme’s CSS. Neither worked with Manual minification settings.

    Someone using Hueman and W3TC together successfully could perhaps shed some light on how you’ve managed? Thank you!

    • This topic was modified 7 years, 9 months ago by solvap.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @solvap,

    Just to help and stop you from chasing your tail..

    Hueman theme has a different directory structure set out for css minification so the standard old dirctory processes don’t work. There are instructions in either a doc or a readme file somewhere for the hueman theme that explains this but for now I can’t remeber where they are located.

    Maybe someone can point you in the right direction.

    Fyi.. and only as a heads up, css @import, is a depricated method.

    Thread Starter solvap

    (@solvap)

    Hello @andrewmperryman ,

    Thank you for replying! I know @import is depricated, but since everything else failed and there is a setting for it in W3 Total Cache, I gave it a try – it didn’t work either. It’s been since removed again from my child theme style.css.

    The only combo working without breaking my CSS right now is: I enabled Minify in Manual mode, and in the Minify settings page of W3TC I let the default settings.

    This way if I check on Google’s PageSpeed Insights I get a warning I should minify my child theme’s style.css. It does not warn me of having to minify parent Hueman’s CSS which must mean they are already minified.

    If I try in the Manual CSS Minify settings to input my child style.css alone, I lose any edits it makes to my site’s design.

    I wish I could find the reference to Hueman CSS minification you mention. I really would like to be able to minify properly with W3TC. Every setting combo I tried so far failed, it’s a bit frustrating.

    Thank you again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hueman and W3 Total Cache CSS minification’ is closed to new replies.