cancel
Showing results for 
Search instead for 
Did you mean: 

After install magento 2.4.2 the styles-m.css is not included in the page

After install magento 2.4.2 the styles-m.css is not included in the page

Hello,

 

I have installed Magento 2.4.2 locally. After the installation, I visited the home page of the store. But I find the style is missing. Then I saved the html file of the homepage, but I don't find the styles-m.css and styles-l.css are included in the <head> section. Seems like the following file is not processed: "theme-frontend-blank/Magento_Theme/layout/default_head_blocks.xml".

 

Could someone help me resolve this issue?

 

Thanks,

Frank

2 REPLIES 2

Re: After install magento 2.4.2 the styles-m.css is not included in the page

Furthermore, there is only "calendar.css" included in the <head> section.

Re: After install magento 2.4.2 the styles-m.css is not included in the page

@blueskyflg144c 

Please refer to this blog for the required solution:

https://meetanshi.com/blog/install-magento-2-4-2-on-localhost-using-xampp/

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.