<?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: Blog Post Listing Spacing in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219396#M10040</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66997"&gt;@bstock98&lt;/a&gt;, did you get this working?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2018 17:46:43 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2018-12-03T17:46:43Z</dc:date>
    <item>
      <title>Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219140#M10002</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I am experiencing some trouble with spacing on my Blog page. The title of the post is overlapping with the content section and I need there to be even space for all of the posts on the listing page. Here is a screenshot of what it looks like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="https://blog.signumbiosciences.com/thescienceofstayinghealthy" style="width: 664px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/13399i43EF0568B15CC28E/image-size/large?v=v2&amp;amp;px=999" role="button" title="4544904337031168.png" alt="https://blog.signumbiosciences.com/thescienceofstayinghealthy" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;https://blog.signumbiosciences.com/thescienceofstayinghealthy&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If anyone knows what I need to edit in the coding of this blog page to allow the title and content to be spaced appropriately, I would greatly appreciate it. Hopefully this is a simple fix. Also please let me know if you want to look at any of the modules for this page. I can attach them in a responce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;-Ben S.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 16:51:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219140#M10002</guid>
      <dc:creator>bstock98</dc:creator>
      <dc:date>2018-11-30T16:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219184#M10009</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66997"&gt;@bstock98&lt;/a&gt;, a link to the page would be helpful&amp;nbsp;&lt;/P&gt;&lt;P&gt;without that, i would suggest (blindly) adding flex to the item and add padding&lt;/P&gt;&lt;P&gt;example pen &lt;A href="https://codepen.io/billyoncetoldme/pen/JewzGQ" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 18:36:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219184#M10009</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2018-11-30T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219187#M10010</link>
      <description>&lt;P&gt;Here is the link to the page &lt;A href="https://blog.signumbiosciences.com/thescienceofstayinghealthy" target="_self"&gt;https://blog.signumbiosciences.com/thescienceofstayinghealthy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will take a look to see if adjusting the flex and width will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion&lt;/P&gt;&lt;P&gt;-Ben S.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 18:49:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219187#M10010</guid>
      <dc:creator>bstock98</dc:creator>
      <dc:date>2018-11-30T18:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219191#M10012</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66997"&gt;@bstock98&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the floats are causing the issue.&amp;nbsp; you can remove those and add display: inline-block to .entry-title-wrapper and .post-body&amp;nbsp;&lt;SPAN&gt;and fiddle wih the widths, but&amp;nbsp;&lt;/SPAN&gt;I would still recommend the flex method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;in your template, put those two divs inside a container div and apply flex to the container&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;style&amp;gt;
.flex{display: flex}
@media (max-width: 500px){
  .flex{
    flex-direction: column
  }
}
&amp;lt;/style&amp;gt;
&amp;lt;div class="flex"&amp;gt;
  &amp;lt;div class ="entry-title-wrapper"&amp;gt;
      &amp;lt;!-- content --&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;div class="post-body"&amp;gt;
     &amp;lt;!-- content --&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 19:05:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219191#M10012</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2018-11-30T19:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219396#M10040</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66997"&gt;@bstock98&lt;/a&gt;, did you get this working?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 17:46:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219396#M10040</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2018-12-03T17:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219422#M10042</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;I haven't been able to get it to work yet. I am not very versed in coding, especially for hubspot, but I'm trying to get the hang of it. Where would it be best to insert those div segments into the blog page? Should I make another module to add to the page template, or should I insert this into one of the existing modules? Here is the main section of the blog page template that I am working with for reference. Please let me know if there is anything else that would help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6001583633203200.png" style="width: 916px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/13441i9AEB56E38EB105C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="6001583633203200.png" alt="6001583633203200.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you I appreciate the help,&lt;/P&gt;&lt;P&gt;Ben S.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 21:06:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219422#M10042</guid>
      <dc:creator>bstock98</dc:creator>
      <dc:date>2018-12-03T21:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219457#M10043</link>
      <description>&lt;P&gt;&lt;SPAN&gt;.entry-title-wrapper.&lt;/SPAN&gt;hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66997"&gt;@bstock98&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the blog content hightlighted, you should see on the right sidebar an option to edit the listing layout .&lt;/P&gt;&lt;P&gt;within that you should look for&amp;nbsp;&lt;/P&gt;&lt;P&gt;something like this&lt;/P&gt;&lt;PRE&gt;{% for content in content %}&lt;/PRE&gt;&lt;P&gt;directly under that, you will see the post container.&amp;nbsp; yours will look like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;div class="post-item"&amp;gt;
  &amp;lt;div class="post-header"&amp;gt;
     &amp;lt;!-- this contains your share button --&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;div class="entry-title-wrapper"&amp;gt;
     &amp;lt;!-- this contains your title and date --&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;div class="post-body clearfix"&amp;gt;
     &amp;lt;!-- this contains your summary --&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;what you need to do is take the second and third divs inside the post-item container and put them inside a parent div so it would look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;div class="post-item"&amp;gt;
  &amp;lt;div class="post-header"&amp;gt;
     &amp;lt;!-- this contains your share button --&amp;gt;
  &amp;lt;/div&amp;gt;

  &amp;lt;div class="listing-inner-wrapper"&amp;gt;
    &amp;lt;div class="entry-title-wrapper"&amp;gt;
       &amp;lt;!-- this contains your title and date --&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="post-body clearfix"&amp;gt;
       &amp;lt;!-- this contains your summary --&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;

&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;Now, in your stylesheet,&amp;nbsp; search for&amp;nbsp;&lt;SPAN&gt;.entry-title-wrapper.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;remove the float: left&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;change the width to 33%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then, search for&amp;nbsp;.post-body.clearfix.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;remove the float: right&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;remove the width&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(i saw both of .entry-title-wrapper and .pos-body-clearfix twice in the css so make sure to change both&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="token selector"&gt;.listing-inner-wrapper&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;  display&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; -webkit-box&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;  display&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; -ms-flexbox&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;  display&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; flex&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token atrule"&gt;@media (max-width&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; 500px)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token selector"&gt;  .listing-inner-wrapper&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;    -webkit-box-orient&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; vertical&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;    -webkit-box-direction&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; normal&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;    -ms-flex-direction&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; column&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="token property"&gt;    flex-direction&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; column &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;  }&lt;BR /&gt;&lt;/SPAN&gt;   &lt;SPAN&gt;.entry-title-wrapper{&lt;BR /&gt;    width: 100%;&lt;BR /&gt;  }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Hopefully, that gets you somewhere.&amp;nbsp; It might be good to reduce the size of the h2s for mobile devices as well.&lt;/P&gt;&lt;P&gt;And remember, you have a revision history so you can go back to an older version if something doesnt work out right &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 02:12:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219457#M10043</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2018-12-04T02:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Blog Post Listing Spacing</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219609#M10073</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;You're the best. That spaced everything properly and looks much, much better now. I really appreciate the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;Ben S.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:58:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Blog-Post-Listing-Spacing/m-p/219609#M10073</guid>
      <dc:creator>bstock98</dc:creator>
      <dc:date>2018-12-04T19:58:57Z</dc:date>
    </item>
  </channel>
</rss>

