• Resolved Frank Gomez

    (@frank6tg)


    I noticed recently that the lightbox is loading images inconsistently. Which background (black is specified) images not centered on page etc etc. Works fine when signed in. Doesn’t work when logged out.

    // EDITED Figured it out. Problem was caused by WP Rocket “Removed Unused CSS”

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    This is caused by your CSS rules, you need to fix them. When it works only when signed in you also might have some caching problem – content is cached for visitors but not for logged in users.

    As usual with such problems: avoid rules which change elements on a global level (except some basic things like the HTML or BODY container to apply “reset” rules for consistency) and always use selectors for classes or IDs.

    Thread Starter Frank Gomez

    (@frank6tg)

    Yes, you are right, Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lightbox Strange Behavior’ is closed to new replies.