Content css and js within html
-
Hello,
I have tried your theme and I see that it adds hundreds of lines css and js in the html itself. There are more than 700 lines of code with css and js.
Why do they do this?
It is not a good practice. Is there a way that the theme does not load all that code online?
Hello,
These CSS and JS snippets are added by WPBakery elements and they are necessary to make all elements styling options work. Some part is also generated by Redux Framework to make all color selectors, fonts, and backgrounds work. Unfortunately, it is not possible to remove them and they exist in almost all themes with these plugins. As for JS, we will clear almost all snippets that related to our theme in our next theme update.
Kind Regards
Yes, they should clean all the code they can.
We do our best that depends on our theme. Hope that plugins developers will do the same in their updates.
Feel free to contact us if you will have any extra questions.
The topic ‘Content css and js within html’ is closed to new replies.