- This topic has 5 replies, 2 voices, and was last updated 5 years, 8 months ago by
Support. This post has been viewed 1051 times
-
AuthorPosts
-
December 15, 2020 at 3:08 am #10035398
MoiraAllen
ParticipantI 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
December 15, 2020 at 6:39 am #10035399Support
KeymasterHello 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.cssThe 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.
December 16, 2020 at 4:57 am #10035418MoiraAllen
ParticipantThis reply has been marked as private.December 16, 2020 at 6:44 am #10035422Support
KeymasterHello 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.
December 18, 2020 at 5:03 am #10035441MoiraAllen
ParticipantThis reply has been marked as private.December 18, 2020 at 6:23 am #10035444Support
KeymasterHello 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.
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.