<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Masonry on first-folio.demo.lobb.ie</title><link>https://first-folio.demo.lobb.ie/tags/masonry/</link><description>Recent content in Masonry on first-folio.demo.lobb.ie</description><generator>Hugo</generator><language>en-GB-oed</language><copyright>© 2023-2026 Taḋg Paul — Apache License 2.0</copyright><lastBuildDate>Thu, 10 Apr 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://first-folio.demo.lobb.ie/tags/masonry/index.xml" rel="self" type="application/rss+xml"/><item><title>How the Masonry Grid Works</title><link>https://first-folio.demo.lobb.ie/journal/masonry-explained/</link><pubDate>Thu, 10 Apr 2025 00:00:00 +0000</pubDate><guid>https://first-folio.demo.lobb.ie/journal/masonry-explained/</guid><description>&lt;p&gt;The homepage and section list pages use a masonry grid — a layout where items of varying heights pack together without gaps, like a stone wall.&lt;/p&gt;
&lt;h2 id="the-hybrid-approach"&gt;The Hybrid Approach&lt;/h2&gt;
&lt;p&gt;Pure CSS Grid gives us responsive columns but leaves vertical gaps. Pure JavaScript positioning is fragile on resize. The First Folio theme uses both:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;CSS Grid&lt;/strong&gt; handles the horizontal layout — responsive columns that reflow based on viewport width.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JavaScript&lt;/strong&gt; runs after images load and adjusts vertical positioning to fill gaps.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This means the layout works (albeit with gaps) even when JavaScript is disabled.&lt;/p&gt;</description></item></channel></rss>