Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7416439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:29:48+00:00 2026-05-29T07:29:48+00:00

I have a Facebook like button/widget, twitter widget, Google+ widget and an anchor tag

  • 0

I have a Facebook like button/widget, twitter widget, Google+ widget and an anchor tag on the same page.

If the Facebook like button is removed everything works.

If the Facebook like button is displayed then the like button works but all other widgets including a simple anchor tag do not.

Is there any reason why this should not work?

Facebook SDK is loaded via jquery asynchronously

$('body').prepend('<div id="fb-root"></div>');
$.getScript('http://connect.facebook.net/en_US/all.js')
.done(function(script, textStatus) {

    // Initialize Facebook javascript SDK.
    window.fbAsyncInit = function() {
        FB.init({
            appId      : settings.appId,
            channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
            status     : true, // check login status
            cookie     : true, // enable cookies to allow the server to access the session
            xfbml      : true  // parse XFBML
        });

        initSocialWidgets();
        initFacebookPlugins();
    };
})
.fail(function(jqxhr, settings, exception) {
});

Widget html is insert dynamically using jquery.

// Facebook.
script = '<div class="fb-like" data-send="true" data-layout="button_count" data-width="450" data-show-faces="true"></div>';
$('#facebook-widget-container').append(script);

// Twitter.
script = '<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="ezoetic">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>';
$('#twitter-widget-container').append(script);

// Google.
script = '<div class="g-plusone" data-size="medium"></div><script type="text/javascript"> (function() { var po = document.createElement(\'script\'); po.type = \'text/javascript\'; po.async = true; po.src = \'https://apis.google.com/js/plusone.js\'; var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(po, s);  })();</script>';
$('#google-widget-container').append(script);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:29:49+00:00Added an answer on May 29, 2026 at 7:29 am

    The core problem here is the data-width=”450″ attribute in the fb-like div.

    A Facebook like button width of 450px was overlaying all other widgets/anchors in the row. So all other widgets/anchors would show but could not be clicked.

    However, setting the data-width to 108px (the measured width of the Like+Send button) did not fix the problem either. It still resulted in a Facebook like button width of 150px. Setting the data-width to less than 108px had no effect either.

    The final solution was to simply add a css to the Facebook like button container.

    .product-view #facebook-widget-container {
        width: 108px;
        overflow: hidden;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Facebook like button on my page using the XBFML tag. I
I have a Facebook like button on my website, however as it works currently
I have a facebook like button in my web site in the home page.
I have facebook connect button on a page of my site and I want
I have the Facebook like button installed and working. I want to add an
Facebook gurus, I have been implementing the Facebook Like button for a number of
I add FaceBook Likebutton, Google +1 button and Twitter button to MasterPage.master and let
I have a facebook like button on each of my wordpress blog posts, this
I have a wordpress blog.I Want to add Facebook like Button &Facebook Share button
So I have been playing around with the facebook like button but I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.