# Social share module vertical layout

**URL:** <https://community.hubspot.com/t/social-share-module-vertical-layout/886>\
**Category:** CMS Development\
**Created:** [January 31, 2017, 9:37pm UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886 "2017-01-31T21:37:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![guyco](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/guyco/32/25270_2.png) [@guyco](https://community.hubspot.com/u/guyco)\
**Post date:** [January 31, 2017, 9:37pm UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/1 "2017-01-31T21:37:52Z")

</div>

Hi,

Is there a simple / quick way to make the social share module vertical aligned?

(and the email subscription module as well).

I’d like to add them to the blog sidebar but in a vertical layout.

Thanks,

Guy.

---

<div class="post-metadata">

**Author:** ![nschurdell](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nschurdell/32/66756_2.png) [@nschurdell](https://community.hubspot.com/u/nschurdell)\
**Post date:** [January 31, 2017, 11:09pm UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/2 "2017-01-31T23:09:34Z")

</div>

@guyco you can use similar javascript/jQuery and css (see below) to accomplish this…

var t=setTimeout(function(){  
$(‘#please\_share’).css(‘visibility’,‘visible’).hide().fadeIn(“slow”);  
clearInterval(t);  
}, 2000);  
if($(window).width()\<865) {  
$(‘#please\_share’).removeClass(‘share\_class’);  
$(‘#please\_share’).insertAfter(“.page-header”);  
}  
else {  
$(‘#please\_share’).prependTo(“.page-inner”);  
$(‘#please\_share’).css(‘top’,(parseInt($(‘.page-header’).offset().top)+200)+‘px’);  
var width=parseInt($(‘.page-header’).offset().left);  
width=width-70;  
if(width\<=175) {  
$(‘.share\_class’).css(‘margin-left’,width+‘px’);  
}  
else {  
$(‘.share\_class’).css(‘margin-left’,‘175px’);  
}  
}

---

<div class="post-metadata">

**Author:** ![guyco](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/guyco/32/25270_2.png) [@guyco](https://community.hubspot.com/u/guyco)\
**Post date:** [February 1, 2017, 8:35am UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/3 "2017-02-01T08:35:02Z")

</div>

Thanks for the reply.

Sorry but I’m not sure I understand how it is related to the default social share module …

Thanks again,

Guy.

---

<div class="post-metadata">

**Author:** ![subin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/subin/32/29904_2.png) [@subin](https://community.hubspot.com/u/subin)\
**Post date:** [February 1, 2017, 11:46am UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/4 "2017-02-01T11:46:43Z")

</div>

Hi @guyco

Try to use share this [http://www.sharethis.com/](http://www.sharethis.com/) you can use the plugin for single post too, embed the code and check. i think we can use it in both vertical and horizontal directions

Thanks

---

<div class="post-metadata">

**Author:** ![guyco](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/guyco/32/25270_2.png) [@guyco](https://community.hubspot.com/u/guyco)\
**Post date:** [February 1, 2017, 8:52pm UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/5 "2017-02-01T20:52:23Z")

</div>

That’s a great idea, thanks!

---

<div class="post-metadata">

**Author:** ![Ekessler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ekessler/32/64675_2.png) [@Ekessler](https://community.hubspot.com/u/Ekessler)\
**Post date:** [December 13, 2018, 9:25pm UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/6 "2018-12-13T21:25:29Z")

</div>

Can you share with me where on the template design to use the Share this code? I’ve played around with it and it doesn’t seem to be working, even after I added the code in the head and verified the domain. I just don’t know where to add the \<div\> on the template for the blog pages.

thanks.

---

<div class="post-metadata">

**Author:** ![Ekessler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ekessler/32/64675_2.png) [@Ekessler](https://community.hubspot.com/u/Ekessler)\
**Post date:** [December 14, 2018, 2:03pm UTC](https://community.hubspot.com/t/social-share-module-vertical-layout/886/7 "2018-12-14T14:03:07Z")

</div>

Never mind - I got it to work.
