Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
  • #23986


    When I see the source of the online enfold example and my local one I see a big difference.

    The online example has only 2 stylesheets http requests, nicely minified.

    When I watch my downloaded version I have like tons of requests in my header, mainly all avia css. I’d like it to be nicely compact like the online enfold example.

    A huge difference.

    How can I achieve it like in the online example? I have installed the latest 1.5

    like this:

    <link rel='stylesheet' type='text/css' media='all' href=',themes/wp-content/themes/enfold/config-woocommerce/woocommerce-mod.css,themes/wp-content/themes/enfold/config-bbpress/bbpress-mod.css,themes/wp-content/themes/enfold/config-layerslider/LayerSlider/css/layerslider.css' />
    <link rel='stylesheet' type='text/css' media='screen' href=',themes/wp-content/themes/enfold/css/base.css,themes/wp-content/themes/enfold/css/layout.css,themes/wp-content/themes/enfold/css/shortcodes.css,themes/wp-content/themes/enfold/js/prettyPhoto/css/prettyPhoto.css,themes/wp-content/themes/enfold/js/mediaelement/skin-1/mediaelementplayer.css,themes/wp-content/themes/enfold/css/custom.css' />
    <script type='text/javascript' src=',themes/wp-content/themes/enfold/js/avia-compat.js,themes/wp-includes/js/comment-reply.min.js,themes/wp-content/themes/enfold/config-layerslider/LayerSlider/js/layerslider.kreaturamedia.jquery.js,themes/wp-content/themes/enfold/config-layerslider/LayerSlider/js/jquery-easing-1.3.js,themes/wp-content/themes/enfold/config-layerslider/LayerSlider/js/jquerytransit.js,themes/wp-content/themes/enfold/config-layerslider/LayerSlider/js/layerslider.transitions.js'></script>

    Thank you!



    Kriesi uses to compress the files.

    Best regards,



    Thanks Peter, works well. One problem with it though. It seems to break the google font. When I activate it everything renders well, except the font chosen in the style editor. How does he handle this?



    I’m not sure – I’ll tag this thread for Kriesi.

    Best regards,



    ok, looking forward to a solution ;)



    Actually I dont do anything in addition. the plugin works fine for me and so do the google fonts :/

    Not sure what is causing your issue for you. mind sending us a link to your site?


    I’m working locally.

    Have you tried eg setting droid serif en than activating the minify plugin?

    I see both the google font requests are in my source (droid serif and open sans), not sure where it goes wrong.

    In which file is the font type written, Kriesi? Since this happens dynamically.

    So I can check in the minified css if the font type is declared ok, or maybe is in wrong order and gets overwritten.

    When I set the body font type as eg droid serif in the base.css and make it important it does render.




    Maybe you forgot to hit the “flush the cache” button after you saved the new font settings?




    I’m using Open Sans, I see for some reason the space between “Open” and “Sans” is deleted so what should be:

    font-family: Open Sans,'Helvetica Neue','Helvetica Neue',Helvetica,Arial,sans-serif;


    using bwp-minify gets:

    font-family: OpenSans,'HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;


    Any suggestion?




    Try following – in wp-contentthemesenfoldframeworkphpclass-style-generator.php replace

    $this->output .= $rule['elements']."{nfont-family:".$rule_split[0].", 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;".$font_weight."n}nn";


    $this->output .= $rule['elements']."{nfont-family:'".$rule_split[0]."', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;".$font_weight."n}nn";


    Thanks, Dude!

    Works like a charm now.


    No way for me… :( still “OpenSans”…



    Try to clear the browser cache & flush the minify plugin cache.




    Francesco, you need to recompile your style preferences, so the style generator does it work.


    Thanks Spiv! Anything ok now!!

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘reducing http requests’ is closed to new replies.