Changing speeds of social counters

Support desk for Multipurpose Quark Theme
GK User
Fri Feb 10, 2017 11:18 am
Hi

Can you advise how we could change the speed of the animation (slow it down in my case)? It'd be great if we could introduce ,'s too for say, 390,000, 10,000,000, 1,000 etc.


Thank you
User avatar
Fresh Boarder

Joshua M
Mon Feb 13, 2017 5:55 pm
Hi,
Social counters are animated byd scroll reveal library, please try to edit your custom html module and add i.e. "over 2s" attribute to your
Code: Select all
data-sr="enter bottom..

More information may be found here:
https://www.gavick.com/blog/scrollrevea ... animations
User avatar
Moderator

GK User
Wed Feb 15, 2017 4:22 pm
Hi Joshua - the [data-sr] only relates to the actual parent item, not the speed of the counters counting up - the actual count is what I am trying to slow down [data-count="300"] for example
User avatar
Fresh Boarder

GK User
Wed Feb 15, 2017 4:24 pm
I've actually found it - an additional attribute called "data-time="10000" seems to do the trick!
User avatar
Fresh Boarder


cron