-
Author
Tagged: activity, JS Animation
-
August 2, 2015 at 15:58 #71220SplendorParticipant
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?
August 2, 2015 at 16:53 #71225sharmstrModeratorFor the activity, try this assuming your kleo and bp are up-to-date
COPY CODEadd_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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 2, 2015 at 17:02 #71229SplendorParticipantThanks 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?
August 2, 2015 at 17:16 #71233SplendorParticipantSorry 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.. 🙂
August 2, 2015 at 17:22 #71234sharmstrModeratorerrrr – 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 2, 2015 at 17:28 #71235SplendorParticipantok, I’ll test this out @Sharmstr and come back to you in a second or two.
August 2, 2015 at 18:00 #71240sharmstrModeratorOkay. 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 3, 2015 at 15:44 #71328sharmstrModeratorI’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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 3, 2015 at 17:15 #71356SplendorParticipantWhich version of rtmedia are you using @sharmstr?
August 3, 2015 at 17:20 #71364sharmstrModeratorKleo 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 4, 2015 at 13:22 #71478SplendorParticipantThanks @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! 🙂
August 4, 2015 at 15:29 #71499sharmstrModeratorGreat!
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.