Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Facebook "like" icon and spacing


decoyguy

Recommended Posts

Hi All,

 

I'm brand new to the forum and osCommerce, so I apologize if this is the most basic question of all time. I don't know much about html, but am trying to learn on the fly. So, on to my question:

 

I've added a facebook like icon to the header of my store (www.decoyoutlet.com - still under construction). I would like to have it centered on the page and spaced down a little so that it is more in line with the store logo. Can anyone point me in the right direction to do this? I pasted the below code right at the top of the header.php file. Any help is greatly appreciated!!!

 

Jake

 

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:fb="http://www.facebook.com/2008/fbml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<title>DecoyOutlet.com</title>

</head>

<body>

<p><fb:like></fb:like></p>

 

<div id="fb-root"></div>

<script>

window.fbAsyncInit = function() {

FB.init({appId: '171648096226920', status: true, cookie: true,

xfbml: true});

};

(function() {

var e = document.createElement('script');

e.type = 'text/javascript';

e.src = document.location.protocol +

'//connect.facebook.net/en_US/all.js';

e.async = true;

document.getElementById('fb-root').appendChild(e);

}());

</script>

</body>

</html>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...