Jump to content

LostBoy

Member
  • Posts

    11
  • Joined

  • Last visited

Reputation Activity

  1. Like
    LostBoy reacted to Drewcifer in Blocking a country from accessing my site (geo restrict)   
    SOLVED... Paul, thanks for the response. In a different, related, post you mentioned Cloudfare.com and after you replied to this post, though you hadn't mentioned it again, I decided to give Cloudfare a shot.
    For anyone else who wants to Block Countries in Squarespace this is what I did...
    1. I started a FREE Cloudfare account and added my Squarespace website. I had to change the Name Server on Squarespace to complete the process.
    2. To do that I went to my Squarespace website then Settings, Domains, clicked on the gray box with my website URL, clicked on the gray box that says Advanced Settings, at the top of Advanced Settings I clicked on Nameservers, clicked the radial button that says Use Custom Name Servers and added the two URL's that were provided to me during my registration process with Cloudfare.
    3. Cloudfare verified the change within minutes and from the Cloudfare website I selected the tab Firewall, then clicked + Create Firewall Rule.
    4. The rest should be pretty self explanatory depending on what you specifically want to do (restrict, allow, etc...). Hit Deploy
    5. Using a VPN I attempted to access my site from my restricted country and Voila, I couldn't reach it.
    I am considering changing the appearance of the error page, but to do so I will have to upgrade to the $20/mo subscription, which I may or may not do.
    I hope this helps anyone else wanting to do the same thing. I am the end user of my website and not a developer so I spent a lot of time looking into this and I am quite happy that after 2 weeks of research that it is done, and done for FREEEE!
  2. Like
    LostBoy got a reaction from VLabrie in Slideshow - Swipe or flick through/Horizontal scrolling   
    It actually wasn't that bad to implement flickity. I needed it for mobile version because squarespace gallery block are not user friendly via mobile. I followed youtube instructions implement the plug-in on squarespace and used the flickity site to customize the cell boxes. I used the following code to hide the squarespace carousel on mobile and hide flickity cells on desktop. It looks much better. You can even grab all your image urls from squarespace to add to each flickity cell block. I wish squarespace had an auto swipe function auto available to their galleries, but they don't yet.
    @media screen and (max-width: 768px) {
     (div blocks here)
      {display: none !important;}
      
    }
    @media screen and (min-width: 768px) {
     (div blocks here)
      {display: none !important;}
      
    }
×
×
  • 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.