Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ HTML code for social media icons Hubspot Newsletter

Posted by: Seagate2017 Jun 21 2017, 05:29 AM

Hello,

I am hoping someone can help, Im using Hubspot to create a newsletter and have two social media icons I want to display on the same line but when i add the two pieces of code they are put under each other.

1st code:

<div class="hs_followme" style="height:52px"></div>
<script type="text/javascript">
var __hs_fm = {portal: 2412459, host: 'hubapi.com', blog: false};
(function(){
var fm = document.createElement('script');
fm.type = 'text/javascript'; fm.async = true;
fm.src = '//static.hubspot.com/js/fm.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fm, s);
})();
</script>

2nd code:
<!--Instagram--> <a href="https://www.instagram.com/mediaconsummit/"><img src="https://cdn2.hubspot.net/hubfs/2412459/instagram-637730-edited.png" alt="Instagram link"></a>

Thanks for your help, im a real novice at this

Posted by: pandy Jun 21 2017, 06:50 AM

We need to know what HTML the script creates and if there is anything else that affects this. Could you link to the page?

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)