• Resolved deepikaps

    (@deepikaps)


    After the latest update, gallery images are loading one-by-one when the desktop browser loads for the first time instead of as albums. The albums are seen only after the browser window is resized. Please help asap!

    • This topic was modified 8 months, 1 week ago by  deepikaps.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having the same problem… the thumbnails do not show until the browser window is resized or scrolled (on mobile).

    Plugin Author afzal_du

    (@afzal_du)

    usually happens for script conflict (e.g. multiple jQuery).
    1. Try with default theme. If that works, you need to fix jQuery inclusion method on your theme or choose a different theme
    2. Disable other plugins and enable them one by one. Notice which one breaks it to detect the conflicting plugin

    It does work with a default theme. Turning off all the plugins doesn’t change anythin. It’s definitely a problem with the theme, however I deregistered jQuery and enqueued various different versions up to 3.3.0 with no luck.

    Any suggestions or suggested reading about tracking down and fixing conflicts?

    I fixed it. In my theme’s includes/js there was a file called bootstrap-wp.js. In that file the very first line of code was:

    document.write("<style>body{display:none;}</style>");

    I think this was intended to hide the site until the entire page loaded, then something else fades it in. Stupid theme tricks. I commented out that line and now it works as intended. Thank you!

    • This reply was modified 4 months, 3 weeks ago by  DBZEROONE. Reason: clarity
    Plugin Author afzal_du

    (@afzal_du)

    Great finding and fix!

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