<?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[[Tutorial] Alternate Blog Article listing layout]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">My team asked me to figure out how to alternate the layout of the blog posts, so the image would go between being on the right, then the left.... and I wanted to share the code!</p>
<p dir="auto"><strong>Before:</strong><br />
<img src="/assets/uploads/files/1617803966376-screen-shot-2021-04-07-at-3.57.43-pm.png" alt="Screen Shot 2021-04-07 at 3.57.43 PM.png" class="img-responsive img-markdown" /></p>
<p dir="auto"><strong>After:</strong><br />
<img src="/assets/uploads/files/1617803983508-screen-shot-2021-04-07-at-3.57.39-pm.png" alt="Screen Shot 2021-04-07 at 3.57.39 PM.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Steps:</p>
<ol>
<li>On the Blog Listing page, add a "CSS Source Code embedded object" above or below the Blog Listing element.<br />
<img src="https://community.appdrag.com/assets/uploads/files/1618812693732-25c43380-adcd-46fb-aa85-191698e5f0bc-image.png" alt="alt text" class="img-responsive img-markdown" /></li>
<li>Copy/Paste the following into the CSS Source Code you just added (double click to open):</li>
</ol>
<p dir="auto"><strong>Code:</strong><br />
NOTE: This assumes you don't have any existing padding or margins set on your images or text div's.</p>
<pre><code>    .appdrag-blog-listing .row {
        flex-flow: row;
    }
    
    .appdrag-blog-listing .row:first-child {
        /* Keeps the margin consistent between text and image */
        margin-right: 80px;
    }
    
    .blog-article-container:first-child .blog-article .row {
        /* Needed because the clearfix div messes with the :nth-child count */
        flex-flow: row-reverse;
    }
    
    .blog-article-container:not(.clearfix):nth-child(even) .blog-article .row {
        /* reverse even-numbered blog posts */
        flex-flow: row-reverse;
    }
</code></pre>
]]></description><link>https://community.appdrag.com/topic/789/tutorial-alternate-blog-article-listing-layout</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 04:49:58 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/789.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Apr 2021 13:56:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Wed, 21 Apr 2021 09:57:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/202">@Academy-for-Certification-Training-Ltd</a> I posted too quickly, didn't even think about that!</p>
]]></description><link>https://community.appdrag.com/post/3310</link><guid isPermaLink="true">https://community.appdrag.com/post/3310</guid><dc:creator><![CDATA[Daniel Mulroy]]></dc:creator><pubDate>Wed, 21 Apr 2021 09:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Wed, 21 Apr 2021 00:26:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/9">@Daniel-Mulroy</a> Doesn't the existing "How-to, Tutorials" category sound very similar to "Tutorials and Tips".  Perhaps a category called "Tips and Worked Examples" (<strong>subheading</strong>: step-by-step guides and sample code) so that users know that it is not for posting requests or questions.  Just my two cents...</p>
]]></description><link>https://community.appdrag.com/post/3305</link><guid isPermaLink="true">https://community.appdrag.com/post/3305</guid><dc:creator><![CDATA[Academy for Certification - Training Ltd]]></dc:creator><pubDate>Wed, 21 Apr 2021 00:26:04 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Tue, 20 Apr 2021 17:06:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> How do you feel about creating a "Tutorials and Tips" category?</p>
]]></description><link>https://community.appdrag.com/post/3304</link><guid isPermaLink="true">https://community.appdrag.com/post/3304</guid><dc:creator><![CDATA[Daniel Mulroy]]></dc:creator><pubDate>Tue, 20 Apr 2021 17:06:59 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Tue, 20 Apr 2021 00:10:42 GMT]]></title><description><![CDATA[<p dir="auto">Perhaps we can start a thread with useful code snippets, for the less technically proficient like me.  In my experience, there are so many little things that experienced developers take for granted (because they seem obvious or super simple) that can be like gold dust to a newbie (like me).  If users upvote the snippets that they like, the contributor with the most upvotes at the end of the month can be rewarded (Amazon gift voucher, or notoriety - take your pick).</p>
]]></description><link>https://community.appdrag.com/post/3293</link><guid isPermaLink="true">https://community.appdrag.com/post/3293</guid><dc:creator><![CDATA[Academy for Certification - Training Ltd]]></dc:creator><pubDate>Tue, 20 Apr 2021 00:10:42 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Tue, 20 Apr 2021 00:00:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/9">@Daniel-Mulroy</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/2">@Wassim</a> Works like a dream, thank you for sharing!</p>
]]></description><link>https://community.appdrag.com/post/3291</link><guid isPermaLink="true">https://community.appdrag.com/post/3291</guid><dc:creator><![CDATA[Academy for Certification - Training Ltd]]></dc:creator><pubDate>Tue, 20 Apr 2021 00:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Mon, 19 Apr 2021 18:42:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/202">@Academy-for-Certification-Training-Ltd</a> Updated my tutorial with the missing steps <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/3290</link><guid isPermaLink="true">https://community.appdrag.com/post/3290</guid><dc:creator><![CDATA[Daniel Mulroy]]></dc:creator><pubDate>Mon, 19 Apr 2021 18:42:20 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Mon, 19 Apr 2021 18:00:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/9">@Daniel-Mulroy</a> so cool thanks for sharing <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/3289</link><guid isPermaLink="true">https://community.appdrag.com/post/3289</guid><dc:creator><![CDATA[Linda MacDonald]]></dc:creator><pubDate>Mon, 19 Apr 2021 18:00:56 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Mon, 19 Apr 2021 17:32:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/2">@Wassim</a> Thank you for your response, I will have a go and see if I can get it to work</p>
]]></description><link>https://community.appdrag.com/post/3288</link><guid isPermaLink="true">https://community.appdrag.com/post/3288</guid><dc:creator><![CDATA[Academy for Certification - Training Ltd]]></dc:creator><pubDate>Mon, 19 Apr 2021 17:32:07 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Mon, 19 Apr 2021 06:11:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/202">@Academy-for-Certification-Training-Ltd</a> you have to drag and drop a source code component &gt; CSS Source Code embedded and set the code inside.</p>
<p dir="auto"><img src="/assets/uploads/files/1618812693732-25c43380-adcd-46fb-aa85-191698e5f0bc-image.png" alt="25c43380-adcd-46fb-aa85-191698e5f0bc-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://community.appdrag.com/post/3283</link><guid isPermaLink="true">https://community.appdrag.com/post/3283</guid><dc:creator><![CDATA[Wassim]]></dc:creator><pubDate>Mon, 19 Apr 2021 06:11:49 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Mon, 19 Apr 2021 00:39:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/9">@Daniel-Mulroy</a> Forgive my ignorance, but can I just copy and paste this into the code editor?  Where does it go exactly?</p>
]]></description><link>https://community.appdrag.com/post/3282</link><guid isPermaLink="true">https://community.appdrag.com/post/3282</guid><dc:creator><![CDATA[Academy for Certification - Training Ltd]]></dc:creator><pubDate>Mon, 19 Apr 2021 00:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to [Tutorial] Alternate Blog Article listing layout on Fri, 09 Apr 2021 05:48:19 GMT]]></title><description><![CDATA[<p dir="auto">Excellent, thanks for sharing</p>
]]></description><link>https://community.appdrag.com/post/3244</link><guid isPermaLink="true">https://community.appdrag.com/post/3244</guid><dc:creator><![CDATA[Wassim]]></dc:creator><pubDate>Fri, 09 Apr 2021 05:48:19 GMT</pubDate></item></channel></rss>