BuddyBoss Home – Web Support Forums Themes BuddyBoss theme rtMedia Lightbox not working after Read More clicked

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #30621
    @raytronx

    When several rtMedia photos are posted in an activity update they are sometimes hidden and exposed after the Read More link is clicked. Only problem is at that point the lightbox for rtMedia doesn’t work.

    I put in support ticket to rtMedia developers and this is the response.

    Hi Ray,

    I think issue is lightbox is not getting applied when content gets load after clicking “Read More”.

    Check this js line -> https://github.com/rtCamp/rtMedia/blob/master/app/assets/js/rtMedia.js#L202, you need to call this line of code in your theme’s js file after content gets load by clicking “Read More”.

    Any guidance on how to fix this would be appreciated.

    Ray

    Answers

    #30634

    Alyssa
    Participant
    @alyssa-buddyboss

    @raytronx I think we are using the BuddyPress js file now, you would need to edit it in the plugin, or copy the file to the theme, but that would not be recommended. I suggest you ask them how to hook into the buddypress read more and add it there. But I feel that should not be necessary.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘rtMedia Lightbox not working after Read More clicked’ is closed to new replies.