1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Divi + Particles.js

Discussion in 'Free Divi Community Forum' started by Eliz, Apr 13, 2023.

  1. Eliz

    Eliz New Member

    Hello Guys!

    I'm trying to use particles (.js) for my website. I have a background image that works in parallax (native divi builder) and I'd like to add a particle animation on top of this background. It can work freely on the background or within a block (if there is no other way).

    I try to add a block with code function and write:

    <div id="particles-js"></div> <script src="particles.js"></script>
    I have the .js files in the Divi/js/ theme folder. Can you tell me if I'm in the right place? Am I writing the correct path when I say "particles.js"?

    I think I can have particles over the entire section if I use id="idname" in CSS classes & ID, I think it should work.

    I see script information at: https://github.com/VincentGarreau/particles.js/

    And video tutorial at:

    But I can't get it to work in the divi builder.

    • I believe I'm failing to import particles.js and app.js to the wrong place
    • I believe I'm using something wrong in divi builder blocks and sections
    • I believe I'm going crazy (lol)
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  2. Eliz

    Eliz New Member

    ok! work! ty