Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1061599
    Antony H
    Participant

    Hi there, I really like the animations on the feature box icons/images and I just wondered if there was a way these animations could be applied to other elements please?

    Thanks!

    #1061643
    Joao
    Moderator

    Hi There,

    You can turn on the fading effect of the columns where the elements are placed.

    Please see image attached:

    Hope that helps,

    Joao

    #1061657
    Antony H
    Participant

    Thanks for your reply.

    I’m aware of this functionality, but, unfortunately, it only allows elements to ‘slide’ in and doesn’t have all of the other cool animations that are included in the feature box.

    Ideally I’m looking to use the ‘rotate in’ animation.

    Thanks!

    #1061708
    Joao
    Moderator

    Hi There,

    It can be done, you will need to assign a class to the elements and apply custom css.

    Here is a good reference to start:

    https://daneden.github.io/animate.css/

    Hope that helps,

    Joao

    #1062774
    Antony H
    Participant

    Thanks for your help.

    Since you already created the ‘rotate in’ animation [for the Feature Box element] does that mean there is already CSS for this animation somewhere within the theme files? If so, where would I find that please? I’ like to copy it exactly.

    Thanks again!

    #1062901
    Paul R
    Moderator

    Hi Antony,

    The animation is done in js and css.

    It’s located in cornerstone/assets/js/src/site/inc/shortcodes/feature.js and cornerstone/includes/shortcodes/feature-box.php

    Just note that we don’t recommend editing the plugin core files as this will get overwritten during updates.

    Thanks

    #1063104
    Antony H
    Participant

    Thanks. I found an easier way to do this in case it helps anyone else. It’s a really simple plugin called “Animate it!” and you just apply a class for whatever animation you want.

    I assumed that you guys would already have classes set up for this, but not to worry I got there in the end!

    #1063158
    Paul R
    Moderator

    You’re welcome and glad you found an alternative.

    Have a nice day!

  • <script> jQuery(function($){ $("#no-reply-1061599 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>