customization – Particle.js not loading in WordPress Gutenberg

Question

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:

https://dev.pxjk.uk/

Any pointers that can suggest what might be causing the issue would be greatly appreciated.

Many thanks,

Joe

0
Pixeljack 1 month 2022-10-24T18:17:02-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse