-
Content Count
11 -
Joined
-
Last visited
Recent Profile Visitors
112 profile views
-
Add JS effects & SVG effects to Squarespace 7.1 site — server-side code?
Ad7am replied to Ad7am's question in Coding and Customization
Excellent. How?- 2 replies
-
- javascript
- css
-
(and 1 more)
Tagged with:
-
Ad7am reacted to an answer to a question: Add JS effects & SVG effects to Squarespace 7.1 site — server-side code?
-
I'm looking to add the javascript & SVG effects shown in the following tutorials to my Squarespace 7.1 portfolio site: 1. "Making Stagger Reveal Animations for Text": https://tympanus.net/codrops/2020/06/17/making-stagger-reveal-animations-for-text 2. "Ideas for Distorted Link Effects on Menus": https://tympanus.net/Development/DistortedMenuLinkEffects/index5.html 3. "Animated Custom Cursor Effects": https://tympanus.net/Development/AnimatedCustomCursor/index3.html 4. "Text Distortion Effects using Blotter.js": https://tympanus.net/Development/TextDistortionEffects/index.ht
- 2 replies
-
- javascript
- css
-
(and 1 more)
Tagged with:
-
Ad7am started following Adding custom cursor from codepen and Custom Invert dot cursor
-
Ad7am reacted to an answer to a question: Inverted Cursor Hover Effect
-
Ad7am reacted to an answer to a question: Inverted Cursor Hover Effect
-
Ad7am started following colin.irwin
-
Ad7am started following derricksrandomviews
-
Ad7am reacted to an answer to a question: Staggered animation timing
-
Have you gotten this to work on Squarespace?
-
Ad7am reacted to a post in a topic: New Google Analytics Tag
-
Ad7am reacted to a status update: Squarespace Plugins: Pinchable lightbox image/gallery I'm glad to introduce the laste
-
Ad7am reacted to an answer to a question: Making thumbnail backgrounds transparent using Cursor Hover layout
-
bangank36 reacted to an answer to a question: Scroll/pan in lightbox on mobile — solved
-
tuanphan reacted to an answer to a question: Scroll/pan in lightbox on mobile — solved
-
Scroll/pan in lightbox on mobile — solved
Ad7am replied to Ad7am's question in Coding and Customization
For anyone else who needs this, my friend Jason solved it by adding jquery and then disabling touchmove and touchstart. So in addition to adding the custom CSS above, go to Settings > Advanced > Code Injection > Footer and add: <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"> </script> <script> $(document).ready(function() { $("div.gallery-lightbox-list").bind('touchmove', function( event ) { event.stopImmediatePropagation(); }); $(" -
Ad7am reacted to an answer to a question: How can I add jQuery to my site?
-
Ad7am reacted to an answer to a question: Zooming in on images in either gallery, lightbox, or image blocks
-
Site URL: http://bit.ly/ad7am-test1 EDIT 10/26/2020: Solved! See answer below. The webpage I’m trying to diagnose this on is http://bit.ly/ad7am-test1 and the password is < helper >. The default behavior for the gallery is that clicking or touching an image brings up a lightbox, to show the image at the largest it fits in the window, e.g. at 100% of the height of the viewport. I've customized the CSS — because I need viewers to be able to read the text — so that the lightbox instead shows the image at 100% of the width of the viewport.
-
Ad7am reacted to an answer to a question: I can't get my google sheet to be responsive! What am I doing wrong?
-
[Share] Squarespace 7.1 CSS ID List
Ad7am replied to tuanphan's question in Coding and Customization
Thanks for asking, Tuan. I emailed you, and will do so again. Nope, on mobile I still can't get the long images to show in the lightbox at full width without cutting off at the bottom — there's no scrollbar. It seems “overflow-y: auto !important;” is being overruled somewhere. -
Here's how to make it larger: .gallery-lightbox-close-btn-icon { transform: scale(2, 2); } You can also do something like this: .gallery-lightbox-close-btn-icon { transform: scale(2, 2); transition: 1s; } .gallery-lightbox-close-btn-icon:hover { transform: rotate(270deg) scale(4, 4); }
-
[Share] Squarespace 7.1 CSS ID List
Ad7am replied to tuanphan's question in Coding and Customization
Solved my own question of how to my enable lightbox images to show at their full width, no matter the height. Here's the CSS: .gallery-lightbox-item[data-active='true'] { height: auto !important; } .gallery-lightbox-list { overflow-x: hidden; overflow-y: auto !important; z-index: 100; } That puts the scrollbar in the correct place, and keeps the arrows outside the image, where they should be. HOWEVER... I just noticed that on mobile the images are still cut off at the bottom of the lightbox. So it seems the overflow-y property does not work on mobile, though it works fine -
Hi Bangan, I want to enable images in gallery lightboxes to show at their full width (no matter the height), so I used this code: .gallery-lightbox-item { height: auto !important; } .gallery-lightbox-wrapper { overflow-x: hidden; overflow-y: auto; } This works, with one issue: The scroll bar is outside the <Next> arrow. I tried substituting .gallery-lightbox-wrapper with each of these other IDs I found in the page source: .gallery-lightbox-wrapper .gallery-lightbox-item-wrapper .gallery-lightbox-item .gallery-lightbox-list .gallery
-
Ad7am changed their profile photo
-
[Share] Squarespace 7.1 CSS ID List
Ad7am replied to tuanphan's question in Coding and Customization
Thanks for posting this list, Tuanphan. For gallery lightboxes, I've found the following IDs: .gallery-lightbox-wrapper .gallery-lightbox-item-wrapper .gallery-lightbox-item .gallery-lightbox-list .gallery-lightbox-item-src .gallery-lightbox-item-img I wanted to enable my gallery images to show at their full width (no matter the height), so I used this code: .gallery-lightbox-item { height: auto !important; } .gallery-lightbox-wrapper { overflow-x: hidden; overflow-y: auto; } It works, with one issue: The scroll bar is outside the &