Constant Animation

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #10034824
    ts
    Participant

    I 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?


    #10034827
    Support
    Keymaster

    Hello,

    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


    #10034834
    ts
    Participant

    It’s not working. It’s not animating at all on my end. Please advise.


    #10034835
    ts
    Participant

    (Uploaded the latest version to the link I provided)


    #10034836
    ts
    Participant

    I’m sorry, it just doesn’t work on iOS Safari. Please advise.


    #10034839
    Support
    Keymaster

    Hello,

    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


    #10034840
    ts
    Participant

    Nope, 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)


    #10034842
    Support
    Keymaster

    Hello,

    Oh I’m sorry. I saw now we are using the data-appear-animation plugin. By default the animations trough data-appear-animation are disabled on mobile. You can enable the animation on mobile with minWindowWidth option:

    <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


    #10034843
    ts
    Participant

    PS: http://preview.oklerthemes.com/porto/7.6.0/index.html – your template site is down.


    #10034844
    Support
    Keymaster

    Hello,

    We changed our server recently and the URL for our preview now is:
    http://www.okler.net/previews/porto/8.1.0/index.html

    Hope 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


Viewing 10 posts - 1 through 10 (of 10 total)

This topic is marked as "RESOLVED" and can not rceive new replies.