• Resolved Rockyuk

    (@rockyuk)


    Hi Everyone,
    When i click on a document and it opens up really small is there a way to change the size of the document box when it opens up within the lightbox?

    Thanks

    Rockyuk

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi Rockyuk,
    I am sorry for the inconvenience. Please share a screenshot with me to allow me assist you better.

    Thank you
    Brajesh

    Thread Starter Rockyuk

    (@rockyuk)

    Here is a screenshot for you Screenshot

    Thanks

    Rockyuk

    • This reply was modified 6 years, 1 month ago by Rockyuk.
    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi Rockyuk,
    Thank you.

    It seems to me you have “Do not show comments in lightbox” enabled.
    In this case, we do not set any width on the media.

    Can you please try adding a line in css like this

    
    .mpp-lightbox-no-comment-media-entry {
        min-width: 600px;
    }
    

    And see if it works.

    Regards
    Brajesh

    Thread Starter Rockyuk

    (@rockyuk)

    Hi Brajesh,
    I am using a child theme, so would that work in the child themes css? I will probably need to set the height as well?

    Thanks

    Rockyuk

    Thread Starter Rockyuk

    (@rockyuk)

    Hi Brajesh,
    That does not seem to have worked resizing the document within the lightbox?

    Thanks

    Rockyuk

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi Rockyuk,
    Thank you for the reply. It seems I might be targeting incorrect element as the google doc viewer does not work on local.

    I will check it one of our live server and share the code with you by tomorrow.

    Thank you
    Brajesh

    Thread Starter Rockyuk

    (@rockyuk)

    Thank you, even if i can disable the lightbox on the documents would also be fine. I will await your reply.

    Thread Starter Rockyuk

    (@rockyuk)

    Hi there,
    Do you have any updates on this please?

    Thanks

    Rockyuk

    Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi Rockyuk,
    I am sorry for the delayed reply. Yes, that problem occurred in the lightbox mode(without comments).

    here is afix for now

    
    .mpp-lightbox-no-comment-media-entry iframe{
    	
    	min-width: 800px;
    	min-height: 600px;;
    }
    

    You can change height/width as you please.

    I will also include a better solution in our next release(using media query to target screen size).

    Hope that helps.

    Regards
    Brajesh

    Thread Starter Rockyuk

    (@rockyuk)

    Awesome that worked perfectly thank you very much 🙂

    Plugin Author Brajesh Singh

    (@sbrajesh)

    You are welcome.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Document Size In LightBox’ is closed to new replies.