<?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 Re: Stacking Images and Content - Order Needs to Change in Responsive in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398918#M20459</link>
    <description>&lt;P&gt;Actully, one more quick questions...the stacking is perfect but I do notice that the logo and menu are now stacked at the top. Is there something I need to add to avoid that happening?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 15:19:05 GMT</pubDate>
    <dc:creator>MNault</dc:creator>
    <dc:date>2021-01-12T15:19:05Z</dc:date>
    <item>
      <title>Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398595#M20435</link>
      <description>&lt;P&gt;I need to recreate this page:&amp;nbsp;&lt;A href="https://redpathcpas.com/industries/" target="_blank"&gt;https://redpathcpas.com/industries/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The images for each category are staggered from left to right but when it is viewed in responsive mode, it needs to show content, then the image. How do I get it to change the stack in the appropriate order and not content, image, image, content, content, image, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what my work in progress looks like (view as mobile to see what I mean):&amp;nbsp;&lt;A href="https://info.redpathcpas.com/redpath-industries" target="_blank"&gt;https://info.redpathcpas.com/redpath-industries&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 19:42:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398595#M20435</guid>
      <dc:creator>MNault</dc:creator>
      <dc:date>2021-01-11T19:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398836#M20453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/157072"&gt;@MNault&lt;/a&gt;, you can use the order property of flexbox to do this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The div that contains both the text and image should be given&amp;nbsp;&lt;FONT face="courier new,courier"&gt;display: flex &lt;/FONT&gt;and then on mobile&lt;FONT face="courier new,courier"&gt; flex-direction: column&lt;/FONT&gt;. Then you can add whatever order you want for the text and image e.g.&lt;FONT face="courier new,courier"&gt; order: 1&lt;/FONT&gt;. In the below example I've used the current classes from your page that will work but because they're default Hubspot layout classes they'll also apply elsewhere (e.g. the nav) so you'll need to add more specific clases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.row-fluid {
    width: 100%;
    display: flex;
}

@media (max-width: 768px) {
  .row-fluid {
      flex-direction: column;
  }
  /* span4 class is text and span8 is image on your page */
  .span4 {
      display: flex;
      order: 2;
  }
  .span8 {
      order: 1;
      display: flex;
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:41:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398836#M20453</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2021-01-12T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398869#M20455</link>
      <description>&lt;P&gt;Ok, I will give this a shot...just one question, sorry I'm very green at dev....when you say "then on mobile&amp;nbsp;&lt;SPAN&gt;flex-direction: column" where exactly do I place that for the mobile? Or does it go in the in-line styling with the "display:flex"? Thank you in advance for your help, I so appreciate this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:13:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398869#M20455</guid>
      <dc:creator>MNault</dc:creator>
      <dc:date>2021-01-12T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398890#M20456</link>
      <description>&lt;P&gt;That's what this bit of the CSS I posted is for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt; (max-width: 768px) { ... } This is media query which defines CSS stylings for a specific rule, in this case if the screen is less than 768px (i.e. mobile) the rules in it will apply. Media queries can't be added inline, they have to be added in a stylesheet or in a &amp;lt;style&amp;gt; in HTML; you could put the above code in the advanced settings of the page in the Hubspot editor in between &amp;lt;style&amp;gt; ... &amp;lt;/style&amp;gt; tags.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:40:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398890#M20456</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2021-01-12T14:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398915#M20458</link>
      <description>&lt;P&gt;Thank you so much! That worked. I really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 15:16:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398915#M20458</guid>
      <dc:creator>MNault</dc:creator>
      <dc:date>2021-01-12T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398918#M20459</link>
      <description>&lt;P&gt;Actully, one more quick questions...the stacking is perfect but I do notice that the logo and menu are now stacked at the top. Is there something I need to add to avoid that happening?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 15:19:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398918#M20459</guid>
      <dc:creator>MNault</dc:creator>
      <dc:date>2021-01-12T15:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398953#M20464</link>
      <description>&lt;P&gt;Yeah, the row-fluid class is a&lt;SPAN&gt;&amp;nbsp;default Hubspot layout class so the styling will also apply elsewhere (e.g. the navigation at the top). Ideally you would add your own custom class to that wrapping div e.g. left-right-block and your code can be&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.left-right-block {
    width: 100%;
    display: flex;
}

@media (max-width: 768px) {
  .left-right-block {
      flex-direction: column;
  }
  .left-right-block .span4 {
      display: flex;
      order: 2;
  }
  .left-right-block .span8 {
      order: 1;
      display: flex;
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you can't do that you can do this, based on your current code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.footer-container .row-fluid {
    width: 100%;
    display: flex;
}

@media (max-width: 768px) {
  .footer-container .row-fluid {
      flex-direction: column;
  }
  .footer-container .row-fluid .span4 {
      display: flex;
      order: 2;
  }
  .footer-container .row-fluid .span8 {
      order: 1;
      display: flex;
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 16:18:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398953#M20464</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2021-01-12T16:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398974#M20465</link>
      <description>&lt;P&gt;Thank you so much! I went with the second option and it worked great! I appreciate this more than I can express. Have a fabulous day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 16:55:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398974#M20465</guid>
      <dc:creator>MNault</dc:creator>
      <dc:date>2021-01-12T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398977#M20466</link>
      <description>&lt;P&gt;No worries, you're welcome. You too!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 16:57:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/398977#M20466</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2021-01-12T16:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Images and Content - Order Needs to Change in Responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/955080#M38586</link>
      <description>&lt;P&gt;This was helpful, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 23:12:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Stacking-Images-and-Content-Order-Needs-to-Change-in-Responsive/m-p/955080#M38586</guid>
      <dc:creator>RajKSM</dc:creator>
      <dc:date>2024-04-04T23:12:49Z</dc:date>
    </item>
  </channel>
</rss>

