• Please look at the sample page first: https://yi.vc/2010/06/06/69

    There are two blue social network share buttons at the left hand side. (One of them is Facebook and another one is RenRen, a famous Facebook copycat in China.)

    Problem: They are not align with the content.

    I want to make them right below the content.

    Anyone can teach me how to do that? Below is the code for the Simple Post page.

    <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'basicmaths' ) . '&after=</div>') ?>
    			</div>
    
    <a href="javascript:void((function(s,d,e){if(/renren\.com/.test(d.location))return;var f='https://share.renren.com/share/buttonshare?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));" title="分享到人人"><img src="https://xnimg.cn/imgpro/share/browser_share_btn.png" title="分享到人人"/></a>
    
    </div>
    
    <a name="fb_share" type="button_count" href="https://www.facebook.com/sharer.php">Share</a><script src="https://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
    </div>
    
    		</div><!-- .post -->

    Thanks a lot in advance.

Viewing 1 replies (of 1 total)
  • just add a class for those links, e.g.:

    .fb_button {margin-left:100px}

    and then add it in your html div, link or image

Viewing 1 replies (of 1 total)
  • The topic ‘Facebook Share Button to the middle of the page’ is closed to new replies.