Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Vertical Alignment Of Blocks Rate Topic   - - - - -

 
  • Fossils
  • Member
  • Members
  • Join Date: 18-Aug 16
  • 42 posts

Posted 04 October 2016 - 09:41 AM #1

How do I make this facebook like/share block align vertically to the center of the bar like all the other blocks? Do I put code inside the html smarty area or something else?

 

I unsuccessfully tried to add the following to the code below: style="vertical-align:middle"

 

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.7";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
 
<div class="fb-like" data-href="http://www.fossils.com/"data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" style="vertical-align:middle" data-share="true" ></div>
 
 
thanks!!

Attached Thumbnails

  • FB Button Misaligned.PNG


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19690 posts

Posted 04 October 2016 - 02:14 PM #2

Please PM me store access key so that we can provide you with the CSS rule


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.