• Resolved davidovic123

    (@davidovic123)


    Hi,

    I need to exclude the entire header from lazy loading.

    1. I added the class “.site-header” to the Lazy Load Image Class Name Excludes in Media Excludes tab, but it doesn’t work! I even tried various browsers, but the lazy loading keeps occurring.

    2. There’s also this line: wmu-preview-img. What is it?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support litetim

    (@litetim)

    @davidovic123 please create a report and send it to Litespeed. Then share the ID generated.
    LSC report can be sent from: LSC => Toolbox => Report and click on “Send to Litespeed” then an ID will be generated.

    Thread Starter davidovic123

    (@davidovic123)

    Hi, @litetim

    Here’s a Report Number: IXHVUEAM

    also, find settings’ screenshot: https://app.screencast.com/51mTJzX8KyfDJ

    Thanks!

    Plugin Support qtwrk

    (@qtwrk)

    the site is under construction , can’t view the page

    please try grab the html source code that loads the image in question

    Thread Starter davidovic123

    (@davidovic123)

    Hi, @qtwrk

    When you launch or refresh the page, the header expands because there is a gray background in place of the logo, which is displayed before the logo image appears.

    Although this gray background does not appear in the screen recording, it is displayed. I have already noticed this.
    It is displayed for the logo in the form of a large square, as well as for all images on the page, and takes the form of that image.

    I think this is due to the “lazy loading” of images.

    That’s why I want to completely EXCLUDE the ENTIRE header, not just the logo image, from lazy loading. This is due to the header’s expansion behavior; the size of the gray background surrounding the logo is too large compared to the logo itself, which causes the header to expand to the dimensions of the gray square before returning to the normal, smaller size of the logo.

    See the screen record: https://app.screencast.com/MrKPR7vsjJOfg

    On the other hand, lazy loading for the body of the page is not a concern.

    ——-

    Here’s the home page HTML:
    https://ufile.io/ofglqma8
    so you can inspect the page or see the code source.

    Thanks,

    Plugin Support qtwrk

    (@qtwrk)

    custom-logo since I can not view the page directly , please try this for exclude class

    or otherwise use file name logo-header in lazyload exclude URI directly , assume you won’t change logo or logo name

    Thread Starter davidovic123

    (@davidovic123)

    Hi, @qtwrk

    I tried many classes, but they don’t work!
    I finally set image’s URL in “Lazy Load Image Excludes”, and then it works.

    It seems like this CSS class exclusion feature doesn’t work!

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Exclude Header from Lazy Loading’ is closed to new replies.