I moved the facebook like button after the post and still have the same break between the next content item.
Thanks!
Adam
I think I figured out what’s going on. The new faces function takes up space below the like button. Until the button uses the new library and has an if statement, I had to manually change the like button faces toggle to false. I’ll have to update once the libraries are changed. Is there an ETA of when the plugin will switch to the new libraries? Cool function.
Actually, the current library shows the faces just fine. I see faces on my sites. You don’t need the new libraries for that.
Note that you only see faces of your friends who also liked the post.
Thanks for the quick reply Otto. The problem I’m having is that if no one likes or recommends your posting, there’s a big gap between the button and the rest of the content where the faces would be displayed. Is there way to add an if then statement and only require the additional space if there are faces to display? Otherwise, there will always be around 40 extra pixels beneath the button if it isn’t shared or liked. I fixed the gap by make faces false and changing the 65 pixels for the SFC Like plugin to 25 pixels. It’s rather crude.
Thanks,
Adam
Unfortunately, no. The way FB’s code works is by using an iframe to show the like button, and the iframe has to have a size. Even if you used their newer Javascript stuff, all that really does is to replace the fb:like code with the iframe in the DOM using Javascript, so it has much the same effect.
So basically, you have to pick a size.