Sign in

How to disable lazy load above the fold?

  • This topic has 2 replies, 3 voices, and was last updated 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8100
    Avatar photomaudy

    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 photoPluimpje

    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/

     

     

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

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