• Resolved Dan14

    (@dan14)


    This question might have come up before but I couldnt find a solution to it. The plugin moves JS to footer like it says but what is the solution for CSS?

    Thanks in advance.

    • This topic was modified 7 years, 4 months ago by Dan14.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Dan14

    (@dan14)

    Sorry, I meant defer CSS as moving it to footer is not recommended from what I know.

    Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Thanks for reaching out with your question. You’re right, it has come up before, a couple of times. I should really add this to the FAQ!

    Aside from the plugin’s name being specific to scripts ?? there’s also the big reason we don’t do that: it will break most sites. If you place stylesheets below the content your site will not render the styles for that content. Stylesheets typically have to remain in the head in order to work.

    Some sites have stylesheets in different locations, but the way WordPress themes (and a majority of websites in general) typically load stylesheets does not lend to using the same technique to move them as we do with scripts in this plugin. Customizing stylesheets to that degree remains in the court of your theme developer.

    Hope that answers your question, let me know if you have any others.

    Thread Starter Dan14

    (@dan14)

    Thank you for the reply, I am marking it as solved. Great support!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS to Footer?’ is closed to new replies.