<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CLS issues related to AOS (Animate on Scroll) in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/913477#M37653</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I created a new site using the "Drive Theme Free " template. The site is really basic, but it received a mediocre CLS rating from Google, even on the bare-bones pages such as our Privacy Policy with merely the header and one body content section. PageSpeed Insights believes that this line of code is causing the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;body data-aos-easing="ease" data-aos-duration="800" data-aos-delay="0"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried using fixed image dimensions and removing "animate on scroll" for all image elements, but it didn't fix the issue. And since Google detects this issue on basic pages with hardly any visual elements, I'm stumped. I opened up the Template editor and couldn't find this code anywhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I fix this? Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 20:36:00 GMT</pubDate>
    <dc:creator>mkw252</dc:creator>
    <dc:date>2024-01-29T20:36:00Z</dc:date>
    <item>
      <title>CLS issues related to AOS (Animate on Scroll)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/913477#M37653</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I created a new site using the "Drive Theme Free " template. The site is really basic, but it received a mediocre CLS rating from Google, even on the bare-bones pages such as our Privacy Policy with merely the header and one body content section. PageSpeed Insights believes that this line of code is causing the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;body data-aos-easing="ease" data-aos-duration="800" data-aos-delay="0"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried using fixed image dimensions and removing "animate on scroll" for all image elements, but it didn't fix the issue. And since Google detects this issue on basic pages with hardly any visual elements, I'm stumped. I opened up the Template editor and couldn't find this code anywhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I fix this? Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 20:36:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/913477#M37653</guid>
      <dc:creator>mkw252</dc:creator>
      <dc:date>2024-01-29T20:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: CLS issues related to AOS (Animate on Scroll)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/913654#M37657</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/684021"&gt;@mkw252&lt;/a&gt;&amp;nbsp;would you mind sharing a look so I can review the code directly to see where it's coming from?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you also verify where in the theme settings and/or module settings you've removed AOS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 01:14:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/913654#M37657</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2024-01-30T01:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: CLS issues related to AOS (Animate on Scroll)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/914057#M37662</link>
      <description>&lt;P&gt;Hi Jennifer, thank you for looking into it. Here's the website URL: gonative.ai.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I couldn't find the line of code when I navigated to Page Settings -&amp;gt; Template -&amp;gt; Edit this Template.&lt;/LI&gt;&lt;LI&gt;In the drag-and-drop modules, I unchecked "animate on scroll" from all of the assets on the page.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When that didn't solve the problem either, I reverted back to the original settings until I can identify a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 15:43:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/914057#M37662</guid>
      <dc:creator>mkw252</dc:creator>
      <dc:date>2024-01-30T15:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: CLS issues related to AOS (Animate on Scroll)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/914111#M37664</link>
      <description>&lt;P&gt;You're welcome&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/684021"&gt;@mkw252&lt;/a&gt;, thanks for the URL, makes it a lot easier to help get to the bottom of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found the code for AOS, it's part of the body code directly as PageSpeed Insights has flagged:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jnix284_0-1706632451524.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/108286iE90CAD29578BE633/image-size/large?v=v2&amp;amp;px=999" role="button" title="Jnix284_0-1706632451524.png" alt="Jnix284_0-1706632451524.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was going to download the theme to see where it's controlling AOS, but it's no longer available in the marketplace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even though you've turned it off in all of the modules, there are some animations with the images (the split text/image layouts) where I can see it using AOS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jnix284_1-1706632929007.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/108289iE3007F17EAE2441A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jnix284_1-1706632929007.png" alt="Jnix284_1-1706632929007.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know if it would remove the extra line at the top if all of the AOS were disabled, it's hard to know how the developer has the theme coded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the support email, perhaps the developer can point you in the right direction for turning off AOS globally: &lt;A href="mailto:support@driveagency.co" target="_blank"&gt;support@driveagency.co&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if they can't help and we can dig further into the coded files to see about removing it globally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 16:51:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CLS-issues-related-to-AOS-Animate-on-Scroll/m-p/914111#M37664</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2024-01-30T16:51:42Z</dc:date>
    </item>
  </channel>
</rss>

