<?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: Aligning objects (using flex-box) in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380313#M19199</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145"&gt;@tette_engage&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;Thanks for posting the question!&amp;nbsp; Just to confirm, you want to top align the image and the text?&amp;nbsp; So the top of the phone would match the position of the text?&amp;nbsp; Any visual aid you have would help!&amp;nbsp; Flexbox is definitely the way I would go about this.&amp;nbsp; I did not see the &lt;STRONG&gt;flex &lt;/STRONG&gt; property being applied to the container of the two columns, though.&amp;nbsp; I see it a couple divs up.&amp;nbsp; (See attached screengrab from inspector) &lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72866"&gt;@Jake_Lett&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98062"&gt;@SandyG1&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt; -- what do you all think &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;
&lt;P&gt;(ps Firefox Developer Edition for the win with its highlighting of flex or grid content!)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Developer_Tools_-_Home-keino_-_https___www_prometheusone_io_home-keino-0_hs_preview_qOglKNzO-35998890977.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33298i7B4BBAC2CB133666/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Developer_Tools_-_Home-keino_-_https___www_prometheusone_io_home-keino-0_hs_preview_qOglKNzO-35998890977.png" alt="Developer_Tools_-_Home-keino_-_https___www_prometheusone_io_home-keino-0_hs_preview_qOglKNzO-35998890977.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 18:16:33 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2020-10-20T18:16:33Z</dc:date>
    <item>
      <title>Aligning objects (using flex-box)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/379820#M19192</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I'm trying to vertically align an image and a text-box, and I stumbled upon this post suggesting using flex-box:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Vertically-Aligning-text-element-within-a-container/m-p/378210#M19087" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/CMS-Development/Vertically-Aligning-text-element-within-a-container/m-p/378210#M19087&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I can't get it to work?&amp;nbsp;Am I putting the codes in the wrong places as nothing has changed? I first put the codes directly into the modules' inline styling in design tools, after which I gave them classes (.kuva-boxi (the wrapper) / .kuva-boxi-kuva (the pic) / .kuva-boxi-teksti (the text)) and added the codes into the main css.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's the 'KEINO-SOVELLUKSEN EDUT' row if you want to inspect&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.prometheusone.io/home-keino-0?hs_preview=qOglKNzO-35998890977" target="_blank" rel="noopener"&gt;https://www.prometheusone.io/home-keino-0?hs_preview=qOglKNzO-35998890977&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:52:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/379820#M19192</guid>
      <dc:creator>tette_engage</dc:creator>
      <dc:date>2020-10-19T12:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning objects (using flex-box)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380313#M19199</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145"&gt;@tette_engage&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;Thanks for posting the question!&amp;nbsp; Just to confirm, you want to top align the image and the text?&amp;nbsp; So the top of the phone would match the position of the text?&amp;nbsp; Any visual aid you have would help!&amp;nbsp; Flexbox is definitely the way I would go about this.&amp;nbsp; I did not see the &lt;STRONG&gt;flex &lt;/STRONG&gt; property being applied to the container of the two columns, though.&amp;nbsp; I see it a couple divs up.&amp;nbsp; (See attached screengrab from inspector) &lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72866"&gt;@Jake_Lett&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98062"&gt;@SandyG1&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt; -- what do you all think &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;
&lt;P&gt;(ps Firefox Developer Edition for the win with its highlighting of flex or grid content!)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Developer_Tools_-_Home-keino_-_https___www_prometheusone_io_home-keino-0_hs_preview_qOglKNzO-35998890977.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33298i7B4BBAC2CB133666/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Developer_Tools_-_Home-keino_-_https___www_prometheusone_io_home-keino-0_hs_preview_qOglKNzO-35998890977.png" alt="Developer_Tools_-_Home-keino_-_https___www_prometheusone_io_home-keino-0_hs_preview_qOglKNzO-35998890977.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 18:16:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380313#M19199</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2020-10-20T18:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning objects (using flex-box)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380416#M19209</link>
      <description>&lt;P&gt;Yep, it's just the styling being in the wrong place.&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/70145"&gt;@tette_engage&lt;/a&gt;&amp;nbsp;I would remove the .&lt;SPAN&gt;kuva-boxi-kuva and .kuva-boxi-teksti&amp;nbsp;&lt;/SPAN&gt;wrappers so that the hubspot widget-spans are whats getting aligned. Then move your flex css into&amp;nbsp;&lt;SPAN&gt;.kuva-boxi &amp;gt; .row-fluid-wrapper &amp;gt; .row-fluid.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot.jpg" style="width: 686px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33320iD80E0245ADAB80BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.jpg" alt="screenshot.jpg" /&gt;&lt;/span&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot-www.prometheusone.io-2020.10.20-20_50_46.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33321iF8C3732CDAA4FEDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="screenshot-www.prometheusone.io-2020.10.20-20_50_46.png" alt="screenshot-www.prometheusone.io-2020.10.20-20_50_46.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 01:56:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380416#M19209</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2020-10-21T01:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning objects (using flex-box)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380465#M19213</link>
      <description>&lt;P&gt;THANK YOU, THANK YOU, THANK YOU! That did the trick &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Also, I can apparently leave the css-class to the text to for e.g. mobile styling, if someone else is wondering &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 07:17:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Aligning-objects-using-flex-box/m-p/380465#M19213</guid>
      <dc:creator>tette_engage</dc:creator>
      <dc:date>2020-10-21T07:17:29Z</dc:date>
    </item>
  </channel>
</rss>

