customization – Particle.js not loading in WordPress Gutenberg
I’m currently trying to teach myself how to design with Gutenberg (after previously only using Elementor), so I’m re-doing my website.
I’m trying to have my hero section use particle.js but the particles don’t appear to be showing.
The particle.js file is being hooked into the header section and I’ve confirmed that the file is definitely there, and the particle settings (often loaded in a JSON file) are also being hooked as a script into the heading section.
I’ve specified the ID in the particle settings and named the DIV in the hero section the same ID, and so I can’t think of what else I’m missing that’s stopping the particles from loading. Live site with code below:
Any pointers that can suggest what might be causing the issue would be greatly appreciated.