Home Forums WoodMart support forum Content css and js within html

Content css and js within html

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #70308

    zeybix
    Participant

    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?

    #70315

    Artem Temos
    Keymaster

    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

    #73063

    zeybix
    Participant

    Yes, they should clean all the code they can.

    #73073

    Artem Temos
    Keymaster

    We do our best that depends on our theme. Hope that plugins developers will do the same in their updates.

    #73074

    zeybix
    Participant

    thanks

    #73081

    Artem Temos
    Keymaster

    Feel free to contact us if you will have any extra questions.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Content css and js within html’ is closed to new replies.