Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Put this code under <style type="text/css">. Change right:-15px to the number that applies to your theme!
- #twitter{
- top:25px;
- right:5px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.2;-webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;
- }
- #twitter:hover{
- -webkit-transition: opacity 0.7s linear;opacity: 1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
- Then put this under </body> tag in your theme's code. And of course change TWITTAHUSERNAMEHERE to your username c:
- <div id="twitter"><a href="https://twitter.com/TWITTAHUSERNAMEHERE" class="twitter-follow-button" data-show-count="false">Follow @TWITTAHUSERNAMEHERE</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement