• Hello, I have an issue where the bakgrund images work as expected for logged out users but when logged in the images no longer show up.

    I noticed the CSS changes from (logged out):

    .elementor-276 .elementor-element.elementor-element-db77365:not(.elementor-motion-effects-element-type-background), .elementor-276 .elementor-element.elementor-element-db77365 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-image: url("https://my-site.com/wp-content/uploads/2024/02/home.jpg");
        background-position: center center;
        background-size: cover;
    }

    to (logged in)

    .elementor-276 .elementor-element.elementor-element-db77365:not(.elementor-motion-effects-element-type-background), .elementor-276 .elementor-element.elementor-element-db77365 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-image: var(--e-bg-lazyload-loaded);
        --e-bg-lazyload: url("https://my-site.com/wp-content/uploads/2024/02/home.jpg");
        background-position: center center;
        background-size: cover;
    }

    So it’s inserting the actual var strings in to the css image url. Any thoughts on what may be causing this?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Bill

    Did you find a solution for this?

    I have a simlar issue, only it is visible for logged out as well as logged in users.
    It started after upgrading to the latest Elementor version (I’m using Pro 3.21.2).
    I tried disabling all other plugins, no difference. Emptied cache.
    Then I restored my site to the state before the upgrade. Make sure it works fine, then upgraded Elementor again and the issue re-appeared.

    I opened a support ticket, but the refer to WP itself or some hosting config that would cause this…

    Regards,
    Stefan

    Just to add version info: it works fine again if I rollback both Elementor Pro to v3.20.2 and Elementor to v3.20.3.

    I’ll keep that for now as workaround.

    Regards,
    Stefan

    Thread Starter Bill Fitzgerald

    (@wvfitzgerald)

    honestly, it kind of resolved itself. At the time there weren’t many pages so as a work around I added some css to correct the problem until I could find the solution but now it’s working.

    I did clear the SiteGround and Cloudflare cache , but I don’t think that was it.
    I hope you find the solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background images disappear when logged in’ is closed to new replies.