• Hi,
    I am testing the free version of Envira Gallery, which works very well but I have a problem with the lighbox border width, my customer would like to have a smaller border.
    I tried to follow:
    https://enviragallery.com/docs/how-to-remove-the-lightbox-border/
    but the css you suggest does not do the job, in fact
    It seems the width of the border is created by js setting the element size directly on the #envirabox-content div so no way to override it in css for what I can see.
    Is there a way to get around this?

    TIA
    sergio

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @sergiomarchesini and thanks for contacting us! πŸ™‚

    I apologize for the confusion, can you please use this CSS instead?

    div#envirabox-content {
        border: 0 !important;
    }

    Also I noticed it looks like the code tags were picked up when you copied/pasted the shortcode into the page content. This can happen sometimes when you don’t use the Add Gallery button.

    http://cloud.supportally.com/0w0G201J0O46

    That’s why you see that little grey box before the gallery.

    Can you please edit the page and click on the Text tab (not the Visual tab) and then you should see something like this:

    http://cloud.supportally.com/3U202n1E090b

    Can you remove the everything except the actual square brackets and what’s in the middle (that is just the shortcode only).

    Please let me know if I can help with anything else! πŸ™‚

    Thanks

    Thread Starter sergio.marchesini

    (@sergiomarchesini)

    Thanks for your reply, I updated the css, and while this time the css seems to have an impact, I still see a weird effect (you can try it now in the provided link): there is still a larger ugly white background that I seem to be unable to control via css, since its width is set by js.

    Any hint on how to fix? Thanks so much in advance.
    Sergio

    (Thank you also for pointing out the problem with the code tag being formatted, that is our fault, I told the content editor to be careful with that)

    Hi πŸ™‚ I apologize, I don’t see the CSS when I visit the link? Should I be viewing a different link?

    http://cloud.supportally.com/0u1i2u1s1Y33

    Thread Starter sergio.marchesini

    (@sergiomarchesini)

    Sorry I had to remove it to show my customer the work’s progres.. I put it back on this page, have a look.
    http://www.antoniopanzuto.it/spettacoli_/il-frigorifero-lirico/
    Any help would be appreciated.

    Thank yoiu so much
    Sergio

    Hi Sergio πŸ™‚

    Ok, I see. Try this CSS

    div#envirabox-content {
        border: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    Also, I’m seeing the code tags in the HTML markup, if you edit the page, you can click on the Text Tab and then remove the highlighted (see below) code tags, leaving only the square brackets and what’s in between. This can sometimes happen when you use the copy/paste instead of the Add Gallery button.

    http://cloud.supportally.com/3u3o1h1Y0i3k

    Please let me know if that helps πŸ™‚

    Oh πŸ™‚ Also, your theme is placing a 1px border around the image that you’ll need to remove as well so add this CSS too please:

    div#envirabox-content img {
        border: none !important;
    }
    Thread Starter sergio.marchesini

    (@sergiomarchesini)

    IT WORKS!! Case closed, I really appreciate your support. Thanks so much. πŸ™‚

    Happy to hear it πŸ™‚ If we can help with anything else, please don’t hesitate to let us know! Have a great day!

    Hi.
    I have same issue. The solution you provided removes border, but adding unneeded animation on each new image opened:

    Could you please help me or give advice how to avoid this animation

    Hi @namename πŸ™‚

    If you want to open a ticket with support, we’d be happy to help. Or if you could give a link to the page – I could take a look for you!

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘changing lightbox border size’ is closed to new replies.