Jump to content

ChristopherM

Member
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ChristopherM got a reaction from Beyondspace in VantaJS background code injection?   
    It worked! Thank you SO MUCH! I just needed to place it in the code block instead of code injection. So silly that it was so easy. Thank you!
  2. Like
    ChristopherM got a reaction from Beyondspace in VantaJS background code injection?   
    That's so strange, if I copy/paste this exactly, it still doesn't work for me. I'm supposed to put it in Code Injection in Advanced Settings, right? Is there something else I must do? 
    Thank you for trying to help me! 🙂
  3. Like
    ChristopherM got a reaction from Beyondspace in VantaJS background code injection?   
    Hey, has anyone used VantaJS successfully with SquareSpace 7.1? 
    I saw an old thread but the solution provided in it does not appear to work anymore. This is what I've got in Code Injection so far.
    Just as a test I've also just changed the "el" property to something like "vanta" and then put in a Code Block with <div id="vanta"></div> just to see if the animation would display at all on the page, and that also gets me nothing. 
    <script src="https://cdn.jsdelivr.net/npm/vanta/vendor/three.r95.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/vanta@0.5.17/dist/vanta.halo.min.js" <script> VANTA.NET({ el: ".section-background", <----maybe I'm just targeting the div wrong? But I've tried a million things. mouseControls: true, touchControls: true, gyroControls: false, minHeight: 200.00, minWidth: 200.00, scale: 1.00, scaleMobile: 1.00, color: 0xffffff, backgroundColor: 0x2bbbcf }) </script>  
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.