<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Armonia Gems</title>
    <description>The latest articles on DEV Community by Armonia Gems (@armoniagem).</description>
    <link>https://dev.to/armoniagem</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3635597%2Fc356d329-8dcd-47f0-9380-b659b6934df5.png</url>
      <title>DEV Community: Armonia Gems</title>
      <link>https://dev.to/armoniagem</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/armoniagem"/>
    <language>en</language>
    <item>
      <title>Shopify Liquid Glitch: Collection Page Image Squishing &amp; Layout Shift on Mobile (Need Help)</title>
      <dc:creator>Armonia Gems</dc:creator>
      <pubDate>Thu, 04 Jun 2026 09:03:28 +0000</pubDate>
      <link>https://dev.to/armoniagem/shopify-liquid-glitch-collection-page-image-squishing-layout-shift-on-mobile-need-help-4hj7</link>
      <guid>https://dev.to/armoniagem/shopify-liquid-glitch-collection-page-image-squishing-layout-shift-on-mobile-need-help-4hj7</guid>
      <description>&lt;p&gt;Hey everyone, &lt;/p&gt;

&lt;p&gt;I'm currently working on optimizing a Shopify store and ran into a weird layout shift / image aspect ratio issue on our main collection page that is driving me crazy.&lt;/p&gt;

&lt;p&gt;The Setup &amp;amp; The Problem&lt;/p&gt;

&lt;p&gt;The site is built on a customized Shopify theme, and I’ve been trying to clean up the product grid code. Everything looks completely fine on desktop, but the moment I test it on mobile viewports (specifically iOS Safari and Chrome mobile), the product images get severely squished horizontally. &lt;/p&gt;

&lt;p&gt;It looks like the &lt;code&gt;object-fit: cover;&lt;/code&gt; property isn't playing nice with the dynamic aspect ratio classes generated by Shopify's Liquid file.&lt;/p&gt;

&lt;p&gt;You can check out the live collection grid here to see exactly what I mean by the layout rendering behavior: &lt;a href="https://armoniagems.com/collections/ethiopian-opal" rel="noopener noreferrer"&gt;Ethiopian Opal&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;what I've Tried So Far&lt;/p&gt;

&lt;p&gt;1.&lt;strong&gt;Hardcoding Aspect Ratios:&lt;/strong&gt; I tried changing the padding-top trick (&lt;code&gt;padding-top: 100%; position: absolute;&lt;/code&gt;) inside the &lt;code&gt;product-card.liquid&lt;/code&gt; snippet. It fixes the square grid but cuts off the corners of the natural gemstone cabochons, which looks bad.&lt;br&gt;
2.CSS Override: Added &lt;code&gt;height: auto !important; width: 100% !important;&lt;/code&gt; to the custom CSS file, but it triggers a huge &lt;strong&gt;CLS (Cumulative Layout Shift)&lt;/strong&gt; penalty on Google PageSpeed Insights because the wrapper doesn't know the image height before it loads.&lt;/p&gt;

&lt;p&gt;The Question&lt;/p&gt;

&lt;p&gt;How do you guys usually handle dynamic product image heights in Shopify Liquid grids without triggering CLS or causing image distortion on smaller mobile view? &lt;/p&gt;

&lt;p&gt;Is there a specific JavaScript lazy-load wrapper or a standard flexbox utility class that I should use to force the mobile columns to stay uniform? &lt;/p&gt;

&lt;p&gt;Any advice or code snippets would be highly appreciated! Thanks in advance.&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>mobile</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Real Garnet Pendant Necklace – January Birthstone Magic (925 Silver)</title>
      <dc:creator>Armonia Gems</dc:creator>
      <pubDate>Thu, 29 Jan 2026 11:06:41 +0000</pubDate>
      <link>https://dev.to/armoniagem/real-garnet-pendant-necklace-january-birthstone-magic-925-silver-57ki</link>
      <guid>https://dev.to/armoniagem/real-garnet-pendant-necklace-january-birthstone-magic-925-silver-57ki</guid>
      <description>&lt;p&gt;January Born Ladies – This &lt;a href="https://armoniagems.com/products/round-red-garnet-pendant-necklace-floral-design-january-birthstone" rel="noopener noreferrer"&gt;Garnet Pendant&lt;/a&gt; is Made Just for You!&lt;/p&gt;

&lt;p&gt;AA+ Natural Garnet deep red fire&lt;br&gt;
925 Sterling Silver prong setting&lt;br&gt;
18" Adjustable Chain (16"+2" extender)&lt;/p&gt;

&lt;p&gt;The Power of Garnet&lt;br&gt;
January Birthstone = True Love + Loyalty&lt;br&gt;
Confidence boost + Success magnet&lt;br&gt;
Blocks negative energy&lt;/p&gt;

&lt;p&gt;Perfect Gift For&lt;br&gt;
Wife/GF anniversary surprise&lt;br&gt;
January birthday special&lt;br&gt;
Mom-Daughter elegant bond&lt;/p&gt;

&lt;p&gt;"Every time she wears it, she'll be reminded of your love"&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>news</category>
      <category>startup</category>
      <category>marketing</category>
    </item>
  </channel>
</rss>
