Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10035398
    MoiraAllen
    Participant

    I think I understand how to “Minify” but can you please clarify something for me? On line 21 CSS combined where you list all the files how does this line of code end? It looks like a comma with no end bracket. And on the JS combined line it also looks like a comma.

    Thanks, Moira


    #10035399
    Support
    Keymaster

    Hello Moira,

    Should end with the latest CSS or JS script file name. For example:

    <link rel="stylesheet" href="/min/f=vendor/bootstrap/bootsrap.min.css,css/theme.css,css/theme-elements.css,css/custom.css"></link>

    * In the code above I am compressing and minifying the following CSS stylesheets:
    – vendor/bootstrap/bootsrap.min.css
    – css/theme.css
    – css/theme-elements.css
    – css/custom.css

    The same logic should be used for JS scripts.

    Hope this helps!

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10035418
    MoiraAllen
    Participant
    This reply has been marked as private.
    #10035422
    Support
    Keymaster

    Hello Moira,

    We are almost there. The issue is how you are adding the <link> tag with stylesheets on head. Please try changing this:

    <link rel="stylesheet" href="/min/f=
    	 vendor/bootstrap/css/bootstrap.min.css,
    	 vendor/fontawesome-free/css/all.min.css,
    	 vendor/animate/animate.min.css,
    	 vendor/simple-line-icons/css/simple-line-icons.min.css,
    	 vendor/owl.carousel/assets/owl.carousel.min.css,
    	 vendor/owl.carousel/assets/owl.theme.default.min.css,
    	 vendor/magnific-popup/magnific-popup.min.css,
    	 css/theme.css,
    	 css/theme-elements.css,
    	 css/theme-blog.css,
    	 css/theme-shop.css,
    	 vendor/rs-plugin/css/settings.css,
    	 vendor/rs-plugin/css/layers.css,
    	 vendor/rs-plugin/css/navigation.css,
    	 css/skins/skin-corporate-6.css,
    	 css/custom.css"></link>

    To this:

    <link rel="stylesheet" href="/min/f=vendor/bootstrap/css/bootstrap.min.css,vendor/fontawesome-free/css/all.min.css,vendor/animate/animate.min.css,vendor/simple-line-icons/css/simple-line-icons.min.css,vendor/owl.carousel/assets/owl.carousel.min.css,vendor/owl.carousel/assets/owl.theme.default.min.css,vendor/magnific-popup/magnific-popup.min.css,css/theme.css,css/theme-elements.css,css/theme-blog.css,css/theme-shop.css,vendor/rs-plugin/css/settings.css,vendor/rs-plugin/css/layers.css,vendor/rs-plugin/css/navigation.css,css/skins/skin-corporate-6.css,css/custom.css"></link>

    The same for JS on footer.

    Please try that and let us know if you need further asistance.

    Kind Regards,

    Rodrigo.


    #10035441
    MoiraAllen
    Participant
    This reply has been marked as private.
    #10035444
    Support
    Keymaster

    Hello Moira,

    Now the issue is the space below in the script tag:

    Please try with the code below:

    <script type="text/javascript" src="min/f=vendor/jquery/jquery.min.js,vendor/jquery.appear/jquery.appear.min.js,vendor/jquery.easing/jquery.easing.min.js,vendor/jquery.cookie/jquery.cookie.min.js,vendor/popper/umd/popper.min.js,vendor/bootstrap/js/bootstrap.min.js,vendor/common/common.min.js,vendor/jquery.validation/jquery.validate.min.js,vendor/jquery.easy-pie-chart/jquery.easypiechart.min.js,vendor/jquery.gmap/jquery.gmap.min.js,vendor/jquery.lazyload/jquery.lazyload.min.js,vendor/isotope/jquery.isotope.min.js,vendor/owl.carousel/owl.carousel.min.js,vendor/magnific-popup/jquery.magnific-popup.min.js,vendor/vide/jquery.vide.min.js,vendor/vivus/vivus.min.js,js/theme.js,vendor/rs-plugin/js/jquery.themepunch.tools.min.js,vendor/rs-plugin/js/jquery.themepunch.revolution.min.js,vendor/rs-plugin/revolution-addons/typewriter/js/revolution.addon.typewriter.min.js,js/custom.js,js/theme.init.js"></script>

    We hope this helps!

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


Viewing 6 posts - 1 through 6 (of 6 total)

This topic is marked as "RESOLVED" and can not rceive new replies.