BuddyDev

Search

Lightbox remove white box

  • Participant
    Level: Enlightened
    Posts: 71
    Christian Hendriks on #3886

    Hello,

    How can i remove the white box in the lightbox so i only get the image?

    See link for what i mean:
    http://postimg.org/image/4jy7mv1n5/
    (content is safe for work, i use blur)

    Hope you can help me out.

    Kind regards
    Christian

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on #3893

    Hi Christian,
    You don’t want the commenting functionality? Please let us know here


    @ravisharma
    will get back to you tomorrow with details.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 71
    Christian Hendriks on #3902

    Hi, thnx for helping. No, i dont need the commenting because they comment in my theme, not in the lightbox.

    Thnx

  • Participant
    Level: Enlightened
    Posts: 71
    Christian Hendriks on #3920

    @ravisharma, Is there any news?

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #3922

    Hi Christian,

    I am looking into it and Will let you know at day end.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #3925

    Hi Christian

    I looked into it and found there is no hook present in the code. Only way for now is to modify the code? will you be ok with that?

    Thank You
    Ravi

  • Participant
    Level: Enlightened
    Posts: 71
    Christian Hendriks on #3926

    Yes, no problem. If you can tell me how and where i can change the code. 🙂

    Thank you,
    Christian

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #3928

    Hi Christian,

    Please do the following modification to the MediaPress plugin code.

    1. open file “mediapress/core/ajax/class-mpp-ajax-lightbox-helper.php” and change the following code from line no. 175

    mpp_get_template_part( ‘gallery/media/views/lightbox-comment’ );

    to

    mpp_get_template_part( ‘gallery/media/views/lightbox’ );

    2. And modify the css file “mediapress/assets/css/mpp-core.css”

    find “.mpp-lightbox-media-container” and change width to 100%. Also “.mpp-lightbox-media-meta” change width to 100%

    Thank You
    Ravi

  • Participant
    Level: Enlightened
    Posts: 71
    Christian Hendriks on #3929

    I change it, but no lightbox open now

  • Participant
    Level: Enlightened
    Posts: 71
    Christian Hendriks on #3931

    I change it all back, but lightbox is also not open. I think i have a good problem now.

    Hop you can help me out.

    I can sent you the username and password from my server?

You must be logged in to reply to this topic.

This topic is: not resolved