hespo — 2012-05-09T07:17:56-04:00 — #1
I'm a proper amateur when it comes to this stuff, but I have created a website on a free web editor called Weebly.com. I downloaded this site I made as a zip-file in order to host it elsewhere. Some problems have occurred as a results of this, but I have so far managed to repair these.
However I have now tried to add a facebook like-button to this site. I followed the explanation here: http://kb.weebly.com/facebook-like.html
This worked properly in the weebly editor. This is how it appeared there:
But this does not work after downloading the site as a zip. Here is how it appear afterwards:
And the code (after downloading):
<div><div id="784807402536720860" align="center" style="width: 100%; overflow-y: hidden;" class="wcustomhtml"><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FOsloRestaurering&send=false&layout=standard&width=450&show_faces=false&action=like&colorscheme=light&font&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>></div>
Here is also a screen shot taken of the code:
Any got an idea about what's wrong here?
PS: Hope this is the right forum to put it in.
ralphm — 2012-05-09T09:40:07-04:00 — #2
Hi hespo. Welcome to the forums.
Try replacing the <iframe> ... </iframe> section of code with this:
style="border:none; height:35px; width: 450px;">
If that doesn't work, we might need to see you full page code.
hespo — 2012-05-09T10:50:02-04:00 — #3
Thanks for the welcome.
It did work in that sense as a facebook-like button appeared, but this button is blank and not specific for my site.
Here is a screen shot:
What part of your code must a change in order to get it to point towards my own facebook-page?
Thanks for all help so far!
hespo — 2012-05-09T16:50:39-04:00 — #4
I worked it out myself. Thanks for all help ralph.m!
ralphm — 2012-05-09T19:00:23-04:00 — #5
Glad you worked it out. Sorry my code wasn't specific enough. I've used it before, but will have to check what I did to make it site-specific.
system — 2014-10-07T22:23:08-04:00 — #6
This topic is now closed. New replies are no longer allowed.