• Resolved Esteryn

    (@esteryn)


    Hi,

    I need either to:
    – desactivate co-blocks lightbox (so I can use another one)
    – or at least be able to put a white background to it (it is currently a very obstrusive background made of each images)

    Nice blocks though!

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milos Vlaisavljevic

    (@gdmilos)

    Hey @esteryn,

    Thanks for reaching out!

    The second mentioned solution sounds better to me ??

    In order to have a nice white background instead of unwanted images, please add the following CSS code to Appearance > Customize > Additional CSS:

    
    .coblocks-lightbox__background{
    	background-image:none !important;
    	background-color: #fff;
    	filter: brightness(100%);
    }
    .coblocks-lightbox__close, .coblocks-lightbox__close:hover,  .coblocks-lightbox__arrow > div{
    	background-color: #3c3c3c;
    }
    .coblocks-lightbox__heading{
    	color:#3c3c3c;
    }
    
    

    This is how the code works on my end.

    Let me know if the code helps.

    Kind Regards
    Milos | GoDaddy

    Thread Starter Esteryn

    (@esteryn)

    Thank you very much Milos Vlaisavljevic for your help. It worked, thanks but my other lightbox displays images bigger than Co-blocks and I’d also like one that shows miniatures of all images at the bottom, so I’d really like to keep CoBlocks plug-in for your blocks but not your lightbox.

    It would really be great to offer users the choice because it is very outputting to be forced to use that particular lightbox. It might make people uninstall the plug-in, if they have another lightbox they prefer using.

    If possible, settings allowing to disable the lightbox at least, maybe also to change background for other people who might want to (img, white, black) would be great. I couldn’t find settings for Co-blocks in WordPress inferface, but maybe I missed them?

    Again, thank you for your help.
    Kind regards

    Plugin Support Milos Vlaisavljevic

    (@gdmilos)

    Hey @esteryn,

    You can deactivate the lightbox here.

    So far, the provided CSS solution for the lightbox seems like the simplest one since backgrounds cannot be changed using the CoBlocks plugin. Please keep your CoBlocks up-to-date so that you can find if we released the mentioned feature in one of the future versions.

    Thank you for your time and for helping to make CoBlocks awesome.

    Best regards,
    Milos | GoDaddy

    Thread Starter Esteryn

    (@esteryn)

    Thank you for @gdmilos your reply and for your help.
    Thank your work on the plug-in.

    When I desactivate co-blocks lightbox on the masonry gallery, my general lightbox I use for my Gutenberg galleries does not work on it. So I have no lightbox at all for co-blocks masonry.

    I have desactivated lightbox options on Gutenberg galleries to desactivate co blocks lightbox and it allows me to use another general lightbox for those Gutenberg galleries just fine, but it does not work with co blocks galleries.

    I also have another bug with co blocks masonry galleries which I posted on follow on another person’s post who has the same problem here
    https://www.ads-software.com/support/topic/bug-mobile-masonry/

    Best regards,
    Esteryn

    • This reply was modified 3 years, 5 months ago by Esteryn.
    • This reply was modified 3 years, 5 months ago by Esteryn.
    • This reply was modified 3 years, 5 months ago by Esteryn.
    • This reply was modified 3 years, 5 months ago by Esteryn.
    • This reply was modified 3 years, 5 months ago by Esteryn.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to desactivate Co-Blocks lightbox pleas?’ is closed to new replies.