<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[lazyload attributes saved into page content]]></title><description><![CDATA[<p dir="auto">after one of the recent updates on my site the cover image and the first project thumbnail on the homepage were not displayed when the page was loaded directly (in all browsers, on desktop and mobile). However, they did appear correctly when navigating to the homepage from a subpage (via AJAX navigation), and they also look fine in the Laytheme editor.</p>
<p dir="auto">Claude found the problem and gave me a script to solve the problem for the moment.</p>
<p dir="auto">&lt;script&gt;<br />
document.addEventListener("DOMContentLoaded", function () {<br />
document.querySelectorAll("img[data-src]").forEach(function (img) {<br />
if (img.src.indexOf("data:image") === 0) {<br />
img.removeAttribute("sizes");<br />
img.src = img.getAttribute("data-src");<br />
}<br />
});<br />
});<br />
&lt;/script&gt;</p>
<p dir="auto">But I guess it is a bug?<br />
Thanks in advance for looking into this.</p>
]]></description><link>https://laythemeforum.com/topic/11984/lazyload-attributes-saved-into-page-content</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 09:07:33 GMT</lastBuildDate><atom:link href="https://laythemeforum.com/topic/11984.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Jul 2026 00:23:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to lazyload attributes saved into page content on Wed, 08 Jul 2026 21:05:35 GMT]]></title><description><![CDATA[<p dir="auto">hey!</p>
<p dir="auto"><img src="/assets/uploads/files/1783544366301-a234637a-db03-47da-a7b6-be54655ef71b-grafik.png" alt="grafik.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">your website uses the mobile menubar.<br />
which you can show/hide in customize -&gt; mobile -&gt; mobile menu bar -&gt; hide</p>
<p dir="auto">This bar is overlaying the top of your mobile website. Usually, this bar pushes the whole layout down which is correct</p>
<p dir="auto"><img src="/assets/uploads/files/1783544712387-2046c2ec-4017-4383-a0e0-9af162949a3f-grafik.png" alt="grafik.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://laythemeforum.com/post/47741</link><guid isPermaLink="true">https://laythemeforum.com/post/47741</guid><dc:creator><![CDATA[arminunruh]]></dc:creator><pubDate>Wed, 08 Jul 2026 21:05:35 GMT</pubDate></item><item><title><![CDATA[Reply to lazyload attributes saved into page content on Tue, 07 Jul 2026 22:10:46 GMT]]></title><description><![CDATA[<p dir="auto">thanks. That solved the first problem, but not the second: covers in mobile still have some free space above them. I fixed it with<br />
@media (max-width: 600px) {<br />
.cover-region {<br />
top: 0 !important;<br />
}<br />
}</p>
]]></description><link>https://laythemeforum.com/post/47736</link><guid isPermaLink="true">https://laythemeforum.com/post/47736</guid><dc:creator><![CDATA[qua7]]></dc:creator><pubDate>Tue, 07 Jul 2026 22:10:46 GMT</pubDate></item><item><title><![CDATA[Reply to lazyload attributes saved into page content on Tue, 07 Jul 2026 11:59:28 GMT]]></title><description><![CDATA[<p dir="auto">thanks a lot!</p>
<p dir="auto">i did try to fix this with the update i released yesterday.<br />
you can try and see if that update fixed it for you.</p>
<p dir="auto">if you like you can also turn off updates in lay options -&gt; disable updates</p>
<p dir="auto">you can find the setting by searching for it in the search bar.</p>
]]></description><link>https://laythemeforum.com/post/47732</link><guid isPermaLink="true">https://laythemeforum.com/post/47732</guid><dc:creator><![CDATA[arminunruh]]></dc:creator><pubDate>Tue, 07 Jul 2026 11:59:28 GMT</pubDate></item><item><title><![CDATA[Reply to lazyload attributes saved into page content on Mon, 06 Jul 2026 11:26:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arminunruh">@<bdi>arminunruh</bdi></a><br />
<a href="http://corporatefotografie.com" target="_blank" rel="noopener noreferrer nofollow ugc">corporatefotografie.com</a></p>
<p dir="auto">repair worked with</p>
<p dir="auto">&lt;script&gt;<br />
document.addEventListener("DOMContentLoaded", function () {<br />
document.querySelectorAll("img[data-src]").forEach(function (img) {<br />
if (img.src.indexOf("data:image") === 0) {<br />
img.removeAttribute("sizes");<br />
img.src = img.getAttribute("data-src");<br />
}<br />
});<br />
});<br />
&lt;/script&gt;</p>
<p dir="auto">and with</p>
<p dir="auto">@media (max-width: 600px){<br />
.cover-region {<br />
top: 0 !important;<br />
}<br />
}</p>
<p dir="auto">but I guess those were bugs?</p>
]]></description><link>https://laythemeforum.com/post/47723</link><guid isPermaLink="true">https://laythemeforum.com/post/47723</guid><dc:creator><![CDATA[qua7]]></dc:creator><pubDate>Mon, 06 Jul 2026 11:26:40 GMT</pubDate></item><item><title><![CDATA[Reply to lazyload attributes saved into page content on Mon, 06 Jul 2026 11:20:55 GMT]]></title><description><![CDATA[<p dir="auto">hey, do you have a link?</p>
]]></description><link>https://laythemeforum.com/post/47721</link><guid isPermaLink="true">https://laythemeforum.com/post/47721</guid><dc:creator><![CDATA[arminunruh]]></dc:creator><pubDate>Mon, 06 Jul 2026 11:20:55 GMT</pubDate></item><item><title><![CDATA[Reply to lazyload attributes saved into page content on Sat, 04 Jul 2026 00:26:55 GMT]]></title><description><![CDATA[<p dir="auto">another problem: display of covers in mobile seems corrupted - some white space above cover is shown</p>
]]></description><link>https://laythemeforum.com/post/47718</link><guid isPermaLink="true">https://laythemeforum.com/post/47718</guid><dc:creator><![CDATA[qua7]]></dc:creator><pubDate>Sat, 04 Jul 2026 00:26:55 GMT</pubDate></item></channel></rss>