Support » Plugin: W3 Total Cache » minify css and calc function

  • Resolved Stormit


    Hello author,

    Thank you for this awesome plugin!

    I’m having a problem. In my css, I use calc() This function needs space in () to work. But when I enable minify css, it clears all spaces. calc(100% – 100px) will become calc(100%-100px). So it does not work correctly.

    So, my question is: is there any way to solve this issue?

    Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Marko Vasiljevic



    Currently, we do not have a solution for spaces within calc().
    can you please share the exact syntax used in CSS so we can replicate the issue and fix for the future release?

    Hello Marko,

    Thank you for your reply!

    You can see syntax in the link which I sent you

    Best regards,

    Plugin Contributor gidomanders


    @stormit we unsuccessfully tried to reproduce this issue. Could you share more details, like the CSS file being minified, if you use other plugins to minify (too) and your settings (just include the contents of your wp-content/w3tc-config/master.php file)? That way we might be able to find the flaw and help you further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘minify css and calc function’ is closed to new replies.