<?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: Customized Social Media Module - no space between icons in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23765#M2288</link>
    <description>&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Iris&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2017 07:42:09 GMT</pubDate>
    <dc:creator>IrisW</dc:creator>
    <dc:date>2017-07-25T07:42:09Z</dc:date>
    <item>
      <title>Customized Social Media Module - no space between icons</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23515#M2265</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to customize our Social Media-Follow Us_module in our Email templates. I used the recommended code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;!--Name of Social Network--&amp;gt;&amp;nbsp;&amp;lt;a href="URL of Account on Social Network"&amp;gt;&amp;lt;img src="URL of icon from File Manager" alt="Alt Text to be displayed in event that the image doesn't load"&amp;gt;&amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;It works fine except there is no space between the Icons (see picture). I am not sure what I am missing, as I did it exactly lik eshown above. But I am no Designer and do not have a lot of coding experince (I only can copy).&lt;/P&gt;&lt;P&gt;Does anyone have a suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Social Media Icons.JPG" style="width: 203px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/4386i18AA1867D0EC7D16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Social Media Icons.JPG" alt="Social Media Icons.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Iris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 08:26:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23515#M2265</guid>
      <dc:creator>IrisW</dc:creator>
      <dc:date>2017-07-24T08:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Social Media Module - no space between icons</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23713#M2277</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/4359"&gt;@IrisW&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You just need to add some margin between the icons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would first wrap them in a container you can target:&lt;/P&gt;&lt;PRE&gt; &amp;lt;div class="social_container"&amp;gt;   
    &amp;lt;a href="URL of Account on Social Network"&amp;gt;
        &amp;lt;img src="URL of icon from File Manager" alt="Alt Text to be displayed in event that the image doesn't load"&amp;gt;
    &amp;lt;/a&amp;gt;
    &amp;lt;a href="URL of Account on Social Network"&amp;gt;
        &amp;lt;img src="URL of icon from File Manager" alt="Alt Text to be displayed in event that the image doesn't load"&amp;gt;
    &amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;and then add this to the css:&lt;/P&gt;&lt;PRE&gt;.social_container a {
    margin-right: 20px;
}

.social_container a:last-child {
    margin-right: 0px;
}&lt;/PRE&gt;&lt;P&gt;This is if the icons are left aligned. If right aligned change right to left in the css.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 20:31:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23713#M2277</guid>
      <dc:creator>Jsum</dc:creator>
      <dc:date>2017-07-24T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Social Media Module - no space between icons</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23716#M2278</link>
      <description>&lt;P&gt;I'm not 100% certain without looking at the live page itself, but I would imagine that you should be able to edit the code you used for each of the logos, and add&lt;/P&gt;&lt;PRE&gt;style="margin-right: 10px;"&lt;/PRE&gt;&lt;P&gt;before the end of the image tag. I would do this to all the images&amp;nbsp;save the last one since the last image will not need to have additional spacing on the right.&amp;nbsp;This is an example of what it might look like in practice:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;!--Facebook--&amp;gt; &amp;lt;a href="www.facebook.com/hubspot"&amp;gt;&amp;lt;img src="cdn.hubspot.com/facebook.jpeg" alt="Facebook Account for HubSpot" style="margin-right: 10px;"&amp;gt;&amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;In the above code, putting&amp;nbsp;'style=' tells the tag it is in--in this case the image tag--that is going to be stylized by whatever follows it in quotation marks (further documented &lt;A href="https://www.w3schools.com/tags/att_style.asp" target="_self"&gt;here&lt;/A&gt;). In this instance, 'margin-right' is&amp;nbsp;a style attribute that will add a right margin of 10px, or pixels (further documented &lt;A href="https://www.w3schools.com/cssref/pr_margin-right.asp" target="_self"&gt;here&lt;/A&gt;). Of course, you can change the dimension not to be 10px, but to be a different&amp;nbsp;number of pixels that&amp;nbsp;works best for you.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 20:41:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23716#M2278</guid>
      <dc:creator>cpk</dc:creator>
      <dc:date>2017-07-24T20:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Social Media Module - no space between icons</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23765#M2288</link>
      <description>&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Iris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:42:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/23765#M2288</guid>
      <dc:creator>IrisW</dc:creator>
      <dc:date>2017-07-25T07:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Social Media Module - no space between icons</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/218604#M9944</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently having this same issue. Could you please explain where I paste that first code to wrap them in a container?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 19:42:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Customized-Social-Media-Module-no-space-between-icons/m-p/218604#M9944</guid>
      <dc:creator>katepaulson</dc:creator>
      <dc:date>2018-11-27T19:42:20Z</dc:date>
    </item>
  </channel>
</rss>

