Home Forums WoodMart support forum .js and .css – Which should be where? footer and header!

.js and .css – Which should be where? footer and header!

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #57536

    lavitasarim
    Participant

    Hello there.

    I use the BWP Minify plugin. We decided this with you.
    I would be glad if you help me with that.

    You need help on whether the .js and .css running on the site are in the “footer yada header”.

    Which of the .js in the list that I send as an attachment can move to “footer”?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #57541

    lavitasarim
    Participant

    This is in the appended “.css” there.

    Which of the .css in the list that I send as an attachment can move to “footer”?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #57583

    Artem Temos
    Keymaster

    Hello,

    Our theme’s CSS files should be located in the header. The same for JS files except for our functions.js and libraries.js. They should be located in the footer. Or it will be theme.min.js if you use “Combine JS” function. Other files from the list are not related to our theme.

    Regards

    #57596

    lavitasarim
    Participant

    Hello there.

    I’m sorry but I do not understand what they said.
    Which theme files? What is “Combine JS”? “functions.js” and “libraries.js.” where?

    Would you please speak a little more clearly?
    If you can specify which one should be on the list I send, please be glad.

    Thank you.

    #57602

    Artem Temos
    Keymaster

    Sure

    From your list:

    bootstrap, woodmart-style, child-style – are our CSS files that should be located in the head

    All other items are related to CSS files from installed plugins. And there are no references to JS files.

    #57619

    lavitasarim
    Participant

    Hello.

    Do not have a .JS file?

    #57625

    Artem Temos
    Keymaster

    Yes, the file you sent doesn’t list JS files.

    #57646

    lavitasarim
    Participant

    I sent the .js list in the previous message.

    Would you examine again?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #57650

    Artem Temos
    Keymaster

    OK,

    so in the head: woodmart-device, woodmart_html5shiv
    in the footer: woodmart-theme

Tagged: , , ,

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