BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › rtmedia lightbox issue
- This topic has 11 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Anve S..
Question
April 5, 2016 at 3:45 am #66873@costyclanI use rtmedia and the lightbox doesn’t seem to be displaying properly. The background is opaque and the sidebar is attached to lightbox, narrowing the comments area and making it look rather messy. Could someone please take a look at this for me please? Screenshots attached to illustrate.
Answers
April 5, 2016 at 5:44 am #66893@
AnonymousHi @costyclan, I will check the compatibility with rtmedia once to check it. For now you can add this css to solve the issue..
.bp-user #buddypress { padding-top: 3% !important; background: #fff !important; margin-top: 40px !important; } .mfp-bg { background: rgba(0, 0, 0, 0.74) !important; }
Regards
April 6, 2016 at 5:03 am #67052@costyclanI’ve added the code and the lightbox is no longer opaque but the profile is still attached to side. See attached screenshot.
April 6, 2016 at 5:05 am #67054@costyclanI’ve removed code as it made the entire activity area white (see attached)
April 6, 2016 at 6:06 am #67061@
AnonymousHi @costyclan,
Lightbox is appearing in the content division and it also include the Sidebar div along with the overlay.
Please try this :
.mfp-container.mfp-ajax-holder #secondary { display: none; } .mfp-container.mfp-ajax-holder .buddypress-content { max-width: 100% !important; }
It will remove the profile section and place the pop-up in center of the page.
Regards
April 6, 2016 at 7:29 pm #67164@costyclandoes this go in custom.css of child theme @pallavi?
April 6, 2016 at 7:59 pm #67165@costyclanI put it in child custom.css and it’s working thank you. How can I make the background of lightbox solid white, it’s currently transluscent. The previous code made the entire ativity feed white?
April 7, 2016 at 1:06 am #67173@
AnonymousHi @costyclan, The last code was only for lightbox overlay not for bp activity area..
Try this code:
.mfp-bg { background: rgba(255, 255, 255, 1) none repeat scroll 0 0 !important; }
Regards
April 9, 2016 at 9:25 pm #67569@costyclanthank you so much for your support @pallavi, this is working and I almost have it the way I want although now the entire background and lightbox background is white. I would like the original page background to stay as #f9f7f6 and just the lightbox window background as #ffffff
Is this possible?April 11, 2016 at 1:03 am #67669@
AnonymousHi @costyclan,
Try this code:
.mfp-bg { background: rgba(249, 247, 246, 0.87) !important; } .rtmedia-container { background: #fff !important; padding: 3% 0 !important; } .mfp-content.mfp-content .rtm-lightbox-container { background: #fff !important; }
Regards
April 12, 2016 at 5:15 am #67782@costyclanperfect. wonderful @pallavi, thank you.
April 13, 2016 at 4:19 am #67907@anveHI @costyclan
Great 🙂 . I will close this thread now, if you have any other concern ,please create a new topic.
Regards
Anve
- The question ‘rtmedia lightbox issue’ is closed to new replies.