Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Lazyload issue

  • Hello,

    I’ve enabled lazy load with the Smush plugin for my website, using the default settings. I only added the class .wp-show-posts-image img to exclude my header logo from lazy loading. Every time I visit my website, it looks like the images aren’t lazy loading. The “lazy” attribute is being added (view screenshot), but I don’t see the 400ms fade-in animation, for example. Could you take a look?

  • Hi there,

    I only added the class .wp-show-posts-image img to exclude my header logo from lazy loading.

    Hmm not sure if I understand. The logo would be: .site-logo img.

    Every time I visit my website, it looks like the images aren’t lazy loading. The “lazy” attribute is being added (view screenshot), but I don’t see the 400ms fade-in animation, for example.

    Have you checked with Smush’s support team? I can’t see how this would be a GP or GB related issue.

  • Okay thank you.

  • No problem 🙂

  • I figured it out. I had a transition applied to most of my images, and the lazy load class also uses a transition effect. They were conflicting with each other, which is why the lazy load fade-in wasn’t working.

  • Glad to hear that 😁

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