Support » Plugin: Maintenance » Background image doesn’t appear in Maintenance mode

  • Resolved tomdkat

    (@tomdkat)


    Hi! We’re about to take the site out of maintenance mode, but I wanted to give you a chance to see the “actual” behavior. I reported this first in this thread:

    https://wordpress.org/support/topic/background-image-doesnt-appear-in-maintenance-mode/

    We’re running WordPress 5.6 now and as soon as I enabled the “Autoptimize” plugin, the background image disappeared when viewing the site. The site will probably be in maintenance mode for another couple of days. Could someone take a look at this to determine if Maintenance Mode is simply not compatible with “Autoptimize” or if Maintenance Mode could be modified to be compatible?

    Thanks in advance!

    Peace…

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Looks like an issue with lazyloading, turn that off or try excluding the background-image from being lazyloaded using “exclude from lazyloading” or the new “lazyload from nth image”?

    frank (ao dev)

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Thanks for stepping in Frank. That sound like it should fix it!

    Thread Starter tomdkat

    (@tomdkat)

    Thanks for the info! I ended up excluding the background images from lazy loading and that did the trick.

    Peace…

    Did some testing, looks like on the maintenance page the wp_footer (or wp_head or ..) action is not being “done”, resulting in the JavaScript that does the lazyloading not being added Alexandru, is that something you can look into on your side?

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Yes, that is probably the issue. We don’t load anything from other plugins on the Maintenance page to avoid any errors that might occur on the website while it’s being worked on to show up in the front-end.
    I will look into finding a solution for this maybe. 😊

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.