• bimmerime

    (@bimmerime)


    hello,
    I added the following code inside a text widget

    <div class="fb-like" data-href="https://www.facebook.com/pageid" data-layout="button" data-action="like" data-show-faces="false" data-share="false"></div>
    
    <a href="https://twitter.com/pageid" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false" data-dnt="true">Follow @username</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
    
    <a data-pin-do="buttonFollow" href="https://www.pinterest.com/pageid">Follow</a>
    <!-- Please call pinit.js only once per page -->
    <script async defer src="//assets.pinterest.com/js/pinit.js"></script>
    
    <script src="https://apis.google.com/js/platform.js" async defer></script><div class="g-follow" data-href="https://plus.google.com/+pageid" data-annotation="none" data-rel="{relationshipType}"></div>

    and i did get this https://postimg.org/image/xip2sxg33/

    how can i allign the pinterest button?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • kjodle

    (@kjodle)

    Add an id to that Pinterest button:

    <a data-pin-do="buttonFollow" id="pint-button" href="https://www.pinterest.com/pageid">Follow</a>

    and then apply some negative margin to it in your child theme style sheet:

    #pint-button {margin-top: -12px;}

    This is just a guess as you have not provided a link to the page in question.

    Thread Starter bimmerime

    (@bimmerime)

    This is what i found after i used “inspect element”

    <a href="https://www.pinterest.com/pageid" class="PIN_1449009004902_follow_me_button PIN_1449009004902_hazClick" data-pin-href="https://www.pinterest.com/pageid/pins/follow/?guid=0iExcL8FodRs-0" data-pin-log="button_follow">Follow<b></b><i></i></a>

    how should i proceed ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to align my social media buttons’ is closed to new replies.