• While trying to minify css with mod_pagespeed,
    the parent theme’s css loaded unminified.
    Can I remove @import url("../twentyfourteen/style.css"); from child theme’s css to avoid parent’s loading?

    Moreover Google Page Insights indicates java-script and css unminified. I guess this is because of child-theme used and parent’s files loaded. If any chances to do best with css and js minify in child-theme please give an advice.

Viewing 1 replies (of 1 total)
  • Thread Starter whoiam

    (@whoiam)

    Found in blogs: “The @import can be removed from the style.css in the child theme. This is all done in the parent theme. The reason is that this will allow to load the sites faster.”
    Also it is indicated in
    https://gtmetrix.com/avoid-css-import.html
    I wonder if imporing parent’s css is really needed? And would it help to minify css and js vi mod_pagespeed?

Viewing 1 replies (of 1 total)
  • The topic ‘mod_pagespeed and @import’ is closed to new replies.