Site logo

[Resolved] How to edit bottom header html?

Home Forums Support [Resolved] How to edit bottom header html?

Home Forums Support How to edit bottom header html?

  • This topic has 9 replies, 2 voices, and was last updated 5 years ago by Leo.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1719310
    metcomllc@aol.com

    How can I edit my bottom header html?

    https://www.tryhypnosisnow.com

    Specifically <img width="1000" height="239" src="https://www.tryhypnosisnow.com/wp-content/uploads/2020/04/NYC-Hypnotherapy-for-weight-loss-stop-smopking.jpg" data-lazy-type="image" data-src="https://www.tryhypnosisnow.com/wp-content/uploads/2020/04/NYC-Hypnotherapy-for-weight-loss-stop-smopking.jpg" class="attachment-full size-full lazy-loaded" alt="Hypnosis in NYC for quit smoking weight loss anxiety phobias confidence and regression" loading="lazy" itemprop="image" srcset="https://www.tryhypnosisnow.com/wp-content/uploads/2020/04/NYC-Hypnotherapy-for-weight-loss-stop-smopking.jpg 1000w, https://www.tryhypnosisnow.com/wp-content/uploads/2020/04/NYC-Hypnotherapy-for-weight-loss-stop-smopking-300x72.jpg 300w, https://www.tryhypnosisnow.com/wp-content/uploads/2020/04/NYC-Hypnotherapy-for-weight-loss-stop-smopking-768x184.jpg 768w, https://www.tryhypnosisnow.com/wp-content/uploads/2020/04/NYC-Hypnotherapy-for-weight-loss-stop-smopking-500x120.jpg 500w" data-srcset="" sizes="(max-width: 1000px) 100vw, 1000px">

    #1719317
    Leo
    Staff
    Customer Support

    Hi there,

    That’s the featured image.

    What are you trying to edit?

    #1719325
    metcomllc@aol.com

    I am trying to prevent lazy loading for that specific image.

    #1719355
    Leo
    Staff
    Customer Support

    So are you trying to add a specific class to the featured image?

    #1719362
    metcomllc@aol.com

    Right now, it looks like this:

    class="lazy lazy-hidden attachment-full size-full"

    I need to change it to this:

    class="skip-lazy attachment-full size-full"

    #1719369
    Leo
    Staff
    Customer Support

    How are you adding lazy lazy-hidden? Those classes shouldn’t be added by default.

    Take a look at this:
    https://generatepress.com/forums/topic/lcp-issue-featured-image-srcset-scaled-images/page/2/#post-1375075

    #1719372
    metcomllc@aol.com

    I need direction as I need to block lazy loading on this image.

    #1719574
    Leo
    Staff
    Customer Support

    Have you tried adding the function I’ve linked above?
    https://generatepress.com/forums/topic/how-to-edit-bottom-header-html/#post-1719369

    #1735631
    metcomllc@aol.com

    Thank you for your help.

    #1735821
    Leo
    Staff
    Customer Support

    No problem 🙂

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