LostBoy
-
Posts
11 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by LostBoy
-
-
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;}
} -
How do you disable zoom for one product picture on one page (not all of them)
-
oop, figured it out
<script> if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) { Y.on('domready', function () { var galleries = Y.Squarespace.GalleryManager.getGalleries(); for( i = 0; i<galleries.length; i++){ galleries[i].setAttrs({"autoplay":true}) } }); } </script>
-
Can you do auto scrolling for mobile only?
Blocking a country from accessing my site (geo restrict)
in Customize with code
Posted
really unfortunate... CloudFlare must have figured out people were doing this and have made this a "enterprise plan" feature only since july 2021. c'est la vie... hopes this saves someone the trouble.