Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

How to disable lazy load above the fold?

  • #8100
    Avatar photo[anonymous]

    How to disable lazyload above the fold?

    I use Sources theme v1.0.1.0 and I would like to disable lazyloading for images (logo) that are above the fold.

    How do I do that?

    Thank you

    #8103
    Avatar photo[anonymous]

    I have the same issue.

    #8104
    Avatar photoBob

    The latest version of the Source theme does not have the loading attribute.

    To add or remove this attribute in your theme, you need to edit the file, e.g. top.hbs or navbar.hbs available in the following location: ‎⁨(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME ▸ partials).

    PS: To preserve your custom code and prevent it being overwritten the next time the theme is updated, please ensure that you have created override files; these are, essentially, copies of the existing theme files that are stored separately from the main theme fileshttps://getpublii.com/dev/theme-overrides/