[Resolved] Where did you get this background

Home Forums Support [Resolved] Where did you get this background

Home Forums Support Where did you get this background

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #395143
    Max

    Hey Tom

    Where did you get the background that you use on this page?

    https://tomusborne.com/

    Kind Regards

    Max

    #395376
    Leo
    Staff
    Customer Support

    Hi there,

    It’s called particle effect.

    Something like this might help: http://cakewp.com/divi-tutorials/add-nice-moving-particles-background-effect/

    #395639
    Max

    Thanks Leo. Have a good week at work.

    #395887
    Leo
    Staff
    Customer Support

    No problem!

    #400435
    Max

    Hi I followed this tutorial including using the plugin but it does not work correctly.

    I am using sections.

    My first section has already has a background.

    I want to use the particle background on the second section.

    I do not want to use the plugin offered for download on on the website you provided a link for.

    I want to run the JS for the particle background in my own functionality plugin.

    So. I want to know:

    1. What snippet should I use to insert and run the particle JS in my functionality plugin. Including where to add unique CSS ID class

    2. What else do I need to do to run the background just on the section section.

    Thanks for your kind assistance.

    Regards

    Max
    2.

    #401043
    Tom
    Lead Developer
    Lead Developer

    Have you added particles.js to your site yet?

    If not, you’ll need to start with that:

    function child_theme_js() {
        wp_enqueue_script( 'particles', get_stylesheet_directory_uri() . '/particles.js', array( 'jquery' ), '1.0', true );
    }
    add_action( 'wp_enqueue_scripts', 'child_theme_js' );
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.