- This topic has 9 replies, 2 voices, and was last updated 5 years ago by
Leo.
-
AuthorPosts
-
April 2, 2021 at 8:59 am #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">April 2, 2021 at 9:15 am #1719317Leo
StaffCustomer SupportHi there,
That’s the featured image.
What are you trying to edit?
April 2, 2021 at 9:34 am #1719325metcomllc@aol.com
I am trying to prevent lazy loading for that specific image.
April 2, 2021 at 9:56 am #1719355Leo
StaffCustomer SupportSo are you trying to add a specific class to the featured image?
April 2, 2021 at 10:01 am #1719362metcomllc@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"April 2, 2021 at 10:10 am #1719369Leo
StaffCustomer SupportHow 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-1375075April 2, 2021 at 10:15 am #1719372metcomllc@aol.com
I need direction as I need to block lazy loading on this image.
April 2, 2021 at 4:54 pm #1719574Leo
StaffCustomer SupportHave you tried adding the function I’ve linked above?
https://generatepress.com/forums/topic/how-to-edit-bottom-header-html/#post-1719369April 15, 2021 at 6:52 am #1735631metcomllc@aol.com
Thank you for your help.
April 15, 2021 at 9:10 am #1735821Leo
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.