Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sometimes it happens that elementor does not load the css

I am using elementor pro to build my website. Everything works correctly, but sometimes it happens that, by reloading the page, the css is not loaded and the display goes back to being without style, but simple basic html or styles integrated in elementor itself.

What could be the cause of this problem? It doesn't happen often, but for example if I reload the page about fifty times, then for sure it will happen once or twice that the css will not load.

This does not happen with the pages I built without elementor. So if I have a template with html + css it never happens.

Has anyone ever had this problem?

like image 386
Snorlax Avatar asked Oct 20 '25 04:10

Snorlax


1 Answers

I was facing the same issue with the elementor not loading generated css file, seems to be a bug in the elementor but anyways this is how you can fix it.

Hop into elementor's settings -> Advanced Tab -> Change the CSS print method from external file to internal embedding

This will do the trick instead of generating the external css file and then downloading it, it will inject the css into the style tags hence we don't need elementor to download the external file.

like image 131
Babar Khan Swati Avatar answered Oct 22 '25 21:10

Babar Khan Swati



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!