Home / Forums / DynamiX Support / Removing white border in Lightbox

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • Iain Black
    Participant

    Hi Andy,
    is there any way of removing the white border that appears around images when they’re opened up in Lightbox?
    Many thanks,
    Iain

    • This topic was modified 2 years, 2 months ago by  Iain Black.

    Iain Black
    Participant

    Hi Andy,
    did a little research on this forum and found the following custom CSS from another topic. Thought I’d include it in case anyone else was wanting to do the same thing.

    .fancybox-opened .fancybox-skin {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    }
    .fancybox-skin {
    background: transparent !important;
    }

    Seems to be working just fine.
    I was also wondering if there was any way of maximizing the image when opened in Lightbox on an smartphone (iPhone)?

    Many thanks,
    Iain

    Andy
    Andy
    Keymaster

    Thanks for posting up the CSS Iain.

    As for maximising it – unfortunately not. It would be a nice feature to have, I’ll see if the fancybox developer has any plans to include this.


    Iain Black
    Participant

    Thanks for your reply Andy. Would be nice to be able to maximise the image but I’ve decided to install a plugin that allows me to zoom the screen on mobile devices which then gives a second best alternative.
    Iain

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.