Support

Account

Home Forums General Issues Moving css & js to the footer: incompatibility Reply To: Moving css & js to the footer: incompatibility

  • Thanks for the reply. On reading over the code I’m pretty sure it does the following:

    — Unregisters theme and any recommended plugins’ css and reregisters at the bottom
    — Same for the js
    — Same for jquery itself

    Since the first two only affects specific named styles and scripts, I assume jquery might have an interaction with ACF. Not sure what, though…

    But to answer your question: I realized that all the missing styles are just from the theme’s css itself. (This appears to be dynamically generated since you can insert custom css in their theme settings page.) So I’m not even sure how ACF would be interacting with that.

    My solution was just to comment out the line where they move their own css. Everything else on the site appears to be functioning normally. If I find out anything else I’ll update this thread. 🙂