How can I change Twitter's Share button height?
Posted
by
user1035890
on Stack Overflow
See other posts from Stack Overflow
or by user1035890
Published on 2011-11-14T11:48:32Z
Indexed on
2011/11/14
17:50 UTC
Read the original article
Hit count: 253
How can I change Twitter's icon height?
I have another custom image, but the height stays the same. How do I fix this?
https://dev.twitter.com/docs/tweet-button and I used the div method and not the iframe because I wanted to add the data-title
I used this code:
<script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
<div>
<a href="https://twitter.com/share" class="twitter-share-button"
data-url="https://dev.twitter.com/pages/tweet_button"
data-via="your_screen_name"
data-text="Checking out this page about Tweet Buttons"
data-related="anywhere:The Javascript API"
data-count="vertical">Tweet</a>
</div>
© Stack Overflow or respective owner