Jump to content

colin.irwin

Circle Member
  • Posts

    3,620
  • Joined

  • Last visited

  • Days Won

    92

Posts posted by colin.irwin

  1. Here's what you need to do. 

    First, wrap your code as follows

    <script>
    window.Squarespace.onInitialize(Y, function(){
    
    // Your code here
    
    });
    </script>

     

    This will execute the code on each page load. 

    Next, you may need to modify the code so that it only runs for the specific page. You do this by testing the body tag for the presence of the specific collection id. 

  2. 14 hours ago, BHagen said:

    Thats what Im saying. The teardrop never appears. If i click EDIT i get this (see attachment)

    Screen Shot 2019-10-25 at 12.33.16 PM.jpg

    It looks like you are working on a gallery page rather than a page with a gallery block on it. 

    You should create an Index page in the navigation and drag your gallery page into the index. 

    Then you should create a Page and drag that into the Index, under your gallery. 

    Then you should be able to edit the Page and insert blocks and arrange them as you like. 

     

  3.  

    As a test I created a gallery called test gallery. 

    Then I gave some of the items in the gallery links 

    image.png.dfb0bbe02e188c21069d3744ec7fc78a.png

     

    I created a summary block on another page that uses the gallery as the source of its images. 

    Then I created a css rule to kill pointer events for any summary items whose link is from the original gallery (begins with /test-gallery).

    It works as expected. Items with no clickthrough url have a standard cursor and are not clickable but those with a clickthrough work properly. 

    Here is the code - insert it at the bottom of your custom css area after any other code that may already be there. You'll need to tweak href ^= "***" to reflect your gallery slug 

    .summary-item a[href^="/test-gallery"] {
        pointer-events: none;
    }
  4. The following css should be added to the Advanced tab of your cover page settings. 

    <style>
    .sqs-slice-buttons {
      animation: fade-me-in 3s;
    }
    
    @keyframes fade-me-in {
      0% {opacity:0;}
      80% {opacity:0;}
      100% {opacity:1;}
    }
    <style>

     

    There are 2 sections to the code. 

    In the first section you set the total length of the fade in, from invisible to fully visible. It is set to 3 seconds above but you can change it. 

    In the second section you can define how long the buttons stay invisible before they start to fade in. In the example it is set so that the buttons remain invisible for 80% of the3s animation duration (2.4s invisible) and then fades in over the remaining 0.6s.

     

     

    image.thumb.png.ce0e1746bfed743901cb6eee9b8a8700.png

  5. Your copy uses passive voice a lot. It tends to bury the meaning of sentences. There are also lots of long sentences that you should consider splitting up for easier screen reading.

    For instance

    Quote

    Protecting you and making your dreams a reality, bringing joy, fulfillment and quality companionship to you with people of integrity, that we have screened, is why we exist and why we bounce out of bed in the morning excited to do what we do best.


    Could be better with active voice. 

    Quote

    We exist to make your dreams a reality. Our screening process protects you and brings joy, fulfillment and quality companionship with people of integrity. It's what makes us bounce out of bed in the morning excited to do what we do best.

     

  6. It seems to me that the best approach would not be to attempt to glue two or more plugins together. 

    Instead you should set up the products with all of the variant information but hide the dropdowns using css.  )

    Then you should be able to parse the variant data using javascript and use it to construct a front end similar to the one in the example you have.  The variant data is already on the product page (as JSON, from memory).

    Interacting with your custom front end would  set the values on the hidden dropdowns.

    Then, once the user has completed their selections they can click add to basket and the hidden dropdowns will already be set to the correct values to do the job. 

    Essentially, you're abstracting the complexity. 

  7. Add the following to your custom css after any other code that may be there. 

    .Header-nav--primary .Header-nav-inner {
    	a.Header-nav-item[href="/"]:hover {
    		color: pink !important 
    	}
    	a.Header-nav-item[href="/about-jessica-1"]:hover {
    		color: blue !important 
    	}
    	a.Header-nav-item[href="/services-1"]:hover {
    		color: green !important 
    	}
    	a.Header-nav-item[href="/praise"]:hover {
    		color: blue !important 
    	}
    	a.Header-nav-item[href="/portfolio"]:hover {
    		color: blue !important 
    	}
    	a.Header-nav-item[href="/blog"]:hover {
    		color: blue !important 
    	}
    	a.Header-nav-item[href="/contact"]:hover {
    		color: blue !important 
    	}
    }

    You should then change the color values to those you want.  NB. I've inserted named colours but you can get more shades using hex or rgb colours.

  8. A few questions / points:

    • Are you using the Squarespace provided subdomain rather than your own domain name? This could have a negative SEO impact
    • Your name only appears in the site name. That's not a lot for Google to go on when it's working out an authority score. 
    • It seems like you're shying away from providing a lot of content, However, at present you have hardly any content and that's not a good thing. 
    • Links from old sites have a tendency to stick around, especially if they are from large authority sites. 
    • To Google most recent is less important than most relevant. 
    • You should consider creating links from your social site profiles (LinkedIn, Twitter, etc) to your new site.
    • Have you told Google that your site exists?
    • Google can behave strangely for new sites. They may initially be indexed and then suddenly disappear, only to return weeks later once Google has decided on a ranking. Even then, there is no guarantee you will reach the top.  
    • Consider setting up and maintaining a Google My Business profile
×
×
  • 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.