Jump to content

Disable site-wide animation for specific elements

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://hyperboloid-finch-3kll.squarespace.com/

I have site-wide animation enabled but want to disable it for the text + button of a specific section on one page. I've tried using data-section-id to target it but either my code was wrong or it didn't work. See attachment for the section in question - it's at the bottom of the "About" page. Any help would be much appreciated! Site password is "preview".

Screen Shot 2020-10-28 at 3.12.48 PM.png

Link to comment
  • Solution

Hello there,

1. You can find the block id using Find Squarespace Ids Chrome extension

2. All the animation has same class name so disable for that block like

section[data-section-id="5f971ec784fb155f387c538c"] .preFade {
    transition-property: none;
}

image.thumb.png.74cb531ff69a2842bfb3b16c8a75e4af.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 1 year later...
On 10/28/2020 at 5:31 PM, bangank36 said:

Hello there,

1. You can find the block id using Find Squarespace Ids Chrome extension

2. All the animation has same class name so disable for that block like

section[data-section-id="5f971ec784fb155f387c538c"] .preFade {
    transition-property: none;
}

image.thumb.png.74cb531ff69a2842bfb3b16c8a75e4af.png

Hi @bangank36 - I am trying to implement a custom fade in feature via code-block, which works when the site-wide animation is disabled, but once I enable it it seems that my custom animation can't override the site-wide one...

 

Do you have any thoughts on if there's a solution to this? Here is the site (pw = test), and here is a loom video showing how the animation works when sitewide anim is disabled.

 

Thank you!

Link to comment
1 hour ago, MayaViolet said:

Hi @bangank36 - I am trying to implement a custom fade in feature via code-block, which works when the site-wide animation is disabled, but once I enable it it seems that my custom animation can't override the site-wide one...

 

Do you have any thoughts on if there's a solution to this? Here is the site (pw = test), and here is a loom video showing how the animation works when sitewide anim is disabled.

 

Thank you!

I check that the text is still animated now. Have you figured it out?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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