Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    From what I can see, the Lightbox effect works fine on the images in the table, except in the second row: And that’s because there’s quotation mark " missing in front of the URL after the <a href= HTML code. So, once you add that quotation mark, the Lightbox effect will work on all images in the table.

    Regards,
    Tobias

    Thread Starter gombroo

    (@gombroo)

    Hi Tobias,

    unfortunately it doesn’t work as it should. When you go to the second link
    and click on the thumbnail you’ll see black background behind the image.

    On this page: https://reman2.linuxpl.info/menu/dania-glowne/
    there’s no black background. I have no idea why is that.

    Thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, ok, so the problem is that the black background is not appearing? Thanks for the clarification.

    From what I can see the Colorbox has a different CSS styling in the two links. In one of them, the background is shown with an opacity of 0.9 (which will result in that light see-through effect), while on the page with the table, it is shown with an opacity of 0, which means that it is entirely see-through and therefore invisible.
    Unfortunately, I have no realy clue why this is the case, but I’m pretty sure that it’s not related to TablePress.
    Instead, you should check if there’s maybe another parameter that can be added to the Colorbox initialization call or configuration that sets the opacity manually.

    Regards,
    Tobias

    Thread Starter gombroo

    (@gombroo)

    Hi Tobias,

    thanks for your advice. Now I can see I should search for the help on Colorbox support forum, not here ??

    Anyway you suggested me to look for opacity parameter. Colorbox has inline styles which always overwrite custom CSS. I found div responsible for my background and set its opacity to 0.9 and !important.

    #cboxOverlay {
      	visibility: visible;
    	opacity: 0.9 !important;
    }

    Now it works on every page ?? Thanks!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great find! Yes, that’s a very good idea. Overriding the CSS for the overlay should do the trick ??

    Regards,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress gallery effects don't work inside TablePress’ is closed to new replies.