This topic has 16 replies, 3 voices, and was last updated 8 years by Hbweb.

  • Author
  • #71220
     Splendor
    Participant

    Hi,

    I would like to turn off the animation in the activity in buddypress and the rtmedia Gallery? Anyone who knows how to do that?

    #71225
     sharmstr
    Moderator

    For the activity, try this assuming your kleo and bp are up-to-date

    COPY CODE
    
    add_action( 'init', 'remove_activity_animation', 10 );
    
    function remove_activity_animation()
    {
        remove_filter('bp_get_activity_css_class', 'kleo_bp_activity_classes');
    }
    

    Make sure you have masonry turned off in rtMedia settings??

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #71229
     Splendor
    Participant

    Thanks Sharmstr, that helped. By turning of the Masonry in the setting now I get very big gaps in between the images in the gallery.. I can I have the masonry on in the gallery only?

    #71230
     Splendor
    Participant

    the js animation is still there any way..hmm..

    #71231
     Splendor
    Participant

    in the rtmedia gallery..

    #71233
     Splendor
    Participant

    Sorry for my bad english

    Anyway. It would be good to disable both activity and rtmedia js animation. But after turning off the masonry in rtmedia, the js animation was still there but the css of the images is quite off as i can see it. Big gaps, below and between as well, the name shows up below the image for example.. I hope you understand me better now.. 🙂

    #71234
     sharmstr
    Moderator

    errrr – what animation exactly? The display one by one?

    The gaps and titles are animations.

    COPY CODE
    
    .rtmedia-item-title {
        display: none !important;
    }
    #buddypress .rtmedia-container .rtmedia-list .rtmedia-list-item {
        margin-bottom: 0px !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #71235
     Splendor
    Participant

    ok, I’ll test this out @Sharmstr and come back to you in a second or two.

    #71237
     Splendor
    Participant
    This reply has been set as private.
    #71240
     sharmstr
    Moderator

    Okay. I need to get out of here. I’ll get back to you soon though.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #71243
     Splendor
    Participant

    Do that @sharmstr , no problem! 🙂

    #71328
     sharmstr
    Moderator

    I’m not getting the gaps that you are, so it hard to help. Maybe try this

    COPY CODE
    
    #buddypress .rtmedia-container .rtmedia-list .rtmedia-list-item {
        margin-bottom: 0px !important;
        margin-right: 0px !important;
    }
    

    To remove the one by one animation, you’ll have to edit two files

    /kleo/rtmedia/media/media-gallery-item.php. Remove ‘el-zero-fade’ from the li class (around line 16).

    /kleo/rtmedia/media/media-gallery.php. Remove the ‘one-by-one-general’ class from the ul (around line 41)

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #71356
     Splendor
    Participant

    Which version of rtmedia are you using @sharmstr?

    #71364
     sharmstr
    Moderator

    Kleo 3.0.5 and rtMedia 3.8.12

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #71478
     Splendor
    Participant

    Thanks @sharmstr, I was able to fix it. :). I don’t run the 3.8.12 rtmedia on the live site yet. But your code works as it should! 🙂

    #71499
     sharmstr
    Moderator

    Great!

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73759
     Hbweb
    Participant

    This was very helpful. Thank you.

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?