WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Tweet Button Placement! (5 posts)

  1. HD80
    Member
    Posted 1 year ago #

    Hi, I'm very new to wordpress and website building all together. I just added a Tweet button on my site but it's at the top of the page. How can I move it so it's sitting on the edge of my Featured page?
    I put it on the Header.php, here's the code

    <div style=”display:block;float:right;margin: 0px 0px 0px 0px;”>
    
    <a href="https://twitter.com/share">Tweet</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>

    I tried to change the px but it doesn't do anything.

    Thanks

    Link Here

    [Bump deleted per http://codex.wordpress.org/Forum_Welcome#No_Bumping ]

  2. Triptripper
    TutsKid Ninja
    Posted 1 year ago #

    How can I move it so it's sitting on the edge of my Featured page?

    Adjust margin (top). something like margin: 50px 0 0 0;

    I tried to change the px but it doesn't do anything.

    Check the double quotes in the style= of your div

  3. HD80
    Member
    Posted 1 year ago #

    Thanks Trip, I can't make it flush with the top of Feature page because the search bar disappears but it's more desirable now. :)

  4. Triptripper
    TutsKid Ninja
    Posted 1 year ago #

    You're welcome

  5. HD80
    Member
    Posted 1 year ago #

    Closed

Topic Closed

This topic has been closed to new replies.

About this Topic