<?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 Trying to Create Custom 2 Column Module for Website in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/747570#M60767</link>
    <description>&lt;P&gt;Hello there, I'm trying to create a custom module for my HubSpot website that has 2 columns next to one another. In the left column I was hoping to have a YouTube video embedded and in the right just some text. I've listed my HTML + Hubl code that's helped me separate the two sets of content but I'm lost with how to use CSS to make the content appear next to one another as it currently has Column 1 content over Column 2 content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="section-wrapper"&amp;gt;&lt;BR /&gt;&amp;lt;div class="column-1"&amp;gt;&lt;BR /&gt;{% inline_rich_text field="column_1" value="{{ module.column_1 }}" %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="column-2"&amp;gt;&lt;BR /&gt;{% inline_rich_text field="column_2" value="{{ module.column_2 }}" %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 17:26:00 GMT</pubDate>
    <dc:creator>TaylorBeaven</dc:creator>
    <dc:date>2023-01-26T17:26:00Z</dc:date>
    <item>
      <title>Trying to Create Custom 2 Column Module for Website</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/747570#M60767</link>
      <description>&lt;P&gt;Hello there, I'm trying to create a custom module for my HubSpot website that has 2 columns next to one another. In the left column I was hoping to have a YouTube video embedded and in the right just some text. I've listed my HTML + Hubl code that's helped me separate the two sets of content but I'm lost with how to use CSS to make the content appear next to one another as it currently has Column 1 content over Column 2 content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="section-wrapper"&amp;gt;&lt;BR /&gt;&amp;lt;div class="column-1"&amp;gt;&lt;BR /&gt;{% inline_rich_text field="column_1" value="{{ module.column_1 }}" %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="column-2"&amp;gt;&lt;BR /&gt;{% inline_rich_text field="column_2" value="{{ module.column_2 }}" %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 17:26:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/747570#M60767</guid>
      <dc:creator>TaylorBeaven</dc:creator>
      <dc:date>2023-01-26T17:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Create Custom 2 Column Module for Website</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/747601#M60770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/344650"&gt;@TaylorBeaven&lt;/a&gt;, one possible solution with css is to use flexbox, so it should look something like the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.section-wrapper {
    display: flex;
    flex-direction: row;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moving on you should add some media queries to make sure everything is responsive. Here is a great resource on flexbox:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/" target="_blank" rel="noopener"&gt;https://css-tricks.com/snippets/css/a-guide-to-flexbox/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;If my answer was helpful please mark it as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 18:13:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/747601#M60770</guid>
      <dc:creator>miljkovicmisa</dc:creator>
      <dc:date>2023-01-26T18:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Create Custom 2 Column Module for Website</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/748193#M60847</link>
      <description>&lt;P&gt;This is very helpful, thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 18:06:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trying-to-Create-Custom-2-Column-Module-for-Website/m-p/748193#M60847</guid>
      <dc:creator>TaylorBeaven</dc:creator>
      <dc:date>2023-01-27T18:06:31Z</dc:date>
    </item>
  </channel>
</rss>

