Jump to content

yubrajs

Circle Member
  • Posts

    104
  • Joined

  • Last visited

Posts posted by yubrajs

  1. Add this custom css code:

    To hide text inside pink section on all page:

    .sqs-announcement-bar-custom-location {

    display: none !important;

    }

    /* To show text inside pink section only in "100colors" page */

    #collection-54acafbbe4b0f1bacf9d5f21 .sqs-announcement-bar-custom-location {

    display: block !important;

    }

    It will be like the screen-shot attached.

    Screenshot 2024-01-07 at 9.31.05 PM.png

  2. It can be done with simple javascript:

    Add this line in Code Injection > Footer

    <script>
    window.onload = function () {
        document.querySelectorAll("#site-title").forEach((el) => {
          el.setAttribute("href", "https://www.dream.industries/garden");
        });
    };
    </script>

  3. I installed rosetta terminal but still getting same issue:
     

    myMacs-Mac-mini ~ % npm install -g @squarespace/server
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

    changed 84 packages, and audited 85 packages in 15s

    4 packages are looking for funding
      run `npm fund` for details

    1 moderate severity vulnerability

    Some issues need review, and may require choosing
    a different dependency.

    Run `npm audit` for details.

  4. Hi,

    I got this error while installing ss-server on my mac mini m1

    squarespace@myMacs-Mac-mini squarespace % npm install -g @squarespace/server

    npm WARN deprecated har-validator@5.1.5: this library is no longer supported

    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

     

    changed 84 packages, and audited 85 packages in 11s

     

    4 packages are looking for funding

      run `npm fund` for details

     

    1 moderate severity vulnerability

     

    Some issues need review, and may require choosing

    a different dependency.

     

    Run `npm audit` for details.

    Please help. Thanks in Advance!

  5. Hi,

    I tried to integrate a feature in video gallery when user hover over the video thumbnail it should play and stop when hover out. something similar like this site: https://camillesummersvalli.com/
    I am unable to achieve it with squarespace: https://mushroom-kazoo-56xp.squarespace.com/work-1. I write this js code: 

    window.addEventListener("DOMContentLoaded", (event) => {
    document.querySelectorAll("video").forEach((el) => {
    el.addEventListener("mouseover", function (e) {
    this.play();
    });
    });
    document.querySelectorAll("video").forEach((el) => {
    el.addEventListener("mouseleave", function (e) {
    this.pause();
    });
    });
    });

    But this doesn't work, inspect and check for any bugs there is none. Don't know why this is not working. After spending 5-6 hours I tried with Wordpress it worked. Here:https://slicegeek.org/SUBTROPIC/gallery/ 

    Can somebody tell me what went wrong, can it be achieved with Squarespace or do i need to switch to wordpress. Really appreciate your help. Thanks

×
×
  • 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.