How to Make the Facebook Comment Code Width Smaller

104 11
    • 1). Launch your usual HyperText Markup Language editor, website design software or a plain text editor tool, such as Microsoft WordPad or Notepad.

    • 2). Open the Web page that includes the Facebook Comments box that you want to modify.

    • 3). Scroll to the position of the Facebook Comments code on the page. The code snippet starts with:

      <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"

    • 4). Find the "<fb:comments></fb:comments>" line of code.

    • 5). Type or paste "width="x"" immediately after "comments" in the first set of brackets. This adds a width attribute to the code. Replace "x" with your preferred width value in screen pixels. For a Facebook Comments box with a width of 300 screen pixels, the final code should look like this:

      <fb:comments></fb:comments>

    • 6). Save the Web page and upload it to your website's host server.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.