- This topic has 9 replies, 2 voices, and was last updated 5 years, 10 months ago by
Support. This post has been viewed 1161 times
-
AuthorPosts
-
October 21, 2020 at 7:50 pm #10034824
ts
ParticipantI am having trouble getting the heart (only on mobile) to pulse, here is the code:
<i class=”fas fa-heart gold appear-animation” data-appear-animation=”pulse” data-appear-animation-delay=”0″ data-appear-animation-duration=”1s”></I>
I believe this should make it pulse for 1 second but I would like to to pulse indefinitely. How can I do that?
October 21, 2020 at 11:20 pm #10034827Support
KeymasterHello,
You need the CSS property
animation-iteration-count: infinite;.You can add this directly on HTML:
<button class="btn header-btn-collapse-nav" data-toggle="collapse" data-target=".header-nav-main nav"> <i class="fas fa-heart gold appear-animation" data-appear-animation="pulse" data-appear-animation-delay="0" data-appear-animation-duration="1s" style="animation-iteration-count: infinite;"></i> </button>
Hope this helps!
Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
October 22, 2020 at 6:01 am #10034834ts
ParticipantIt’s not working. It’s not animating at all on my end. Please advise.
October 22, 2020 at 6:02 am #10034835ts
Participant(Uploaded the latest version to the link I provided)
October 22, 2020 at 6:20 am #10034836ts
ParticipantI’m sorry, it just doesn’t work on iOS Safari. Please advise.
October 22, 2020 at 6:32 am #10034839Support
KeymasterHello,
Please try with this new code:
<button class="btn header-btn-collapse-nav" data-toggle="collapse" data-target=".header-nav-main nav"> <i class="fas fa-heart gold appear-animation" data-appear-animation="pulse" data-appear-animation-delay="0" data-appear-animation-duration="1s" style="animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite;"></i> </button>
* Note the new value with
-webkit-.Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
October 22, 2020 at 6:35 am #10034840ts
ParticipantNope, still does not work, in fact I don’t think it animates even once. When I go to the elements-animations.html page I am not seeing any animations on the iPhone’s Safari (iOS 14)
October 22, 2020 at 6:43 am #10034842Support
KeymasterHello,
Oh I’m sorry. I saw now we are using the
data-appear-animationplugin. By default the animations troughdata-appear-animationare disabled on mobile. You can enable the animation on mobile withminWindowWidthoption:<button class="btn header-btn-collapse-nav" data-toggle="collapse" data-target=".header-nav-main nav"> <i class="fas fa-heart gold appear-animation" data-appear-animation="pulse" data-appear-animation-delay="0" data-appear-animation-duration="1s" data-plugin-options="{'minWindowWidth': 0}" style="animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite;"></i> </button>Please try that and let us know if you need further assistance.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
October 22, 2020 at 7:03 am #10034843ts
ParticipantPS: http://preview.oklerthemes.com/porto/7.6.0/index.html – your template site is down.
October 22, 2020 at 7:08 am #10034844Support
KeymasterHello,
We changed our server recently and the URL for our preview now is:
http://www.okler.net/previews/porto/8.1.0/index.htmlHope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.