In Magento 2.2.5, I have to load all CSS files in footer rather than header(as Magento do by default).
Please anybody can suggest me solution.
Thank you.
Asked
Active
Viewed 402 times
1
Partab Saifuddin Zakir
- 1,238
- 1
- 18
- 43
Vijay Gupta
- 69
- 6
-
Anybody there, can help me into this. – Vijay Gupta Oct 18 '19 at 10:25
-
Why you move CSS in the footer? – Devidas Oct 18 '19 at 11:28
-
Hello Devidas, as per site optimization i wanted to load content first then CSS. – Vijay Gupta Oct 18 '19 at 11:29
-
you can minify CSS and JS – Devidas Oct 18 '19 at 11:33
-
Yes, i already did, but wanted to call css at body end/footer. – Vijay Gupta Oct 18 '19 at 11:37
-
check this https://magento.stackexchange.com/questions/139107/magento-2-move-the-javascript-to-the-end-of-the-body – Devidas Oct 18 '19 at 11:41
-
you can try as same CSS – Devidas Oct 18 '19 at 11:41
-
@VijayGupta. Upgrade to 2.3.3, it has that feature – Manjunath Oct 18 '19 at 13:58
-
@Manjunath, Let me try thank you. – Vijay Gupta Oct 21 '19 at 05:23