HomeBreadcrumb ArrowModulesBreadcrumb ArrowOpenCartBreadcrumb ArrowFacebookCommentsBreadcrumb ArrowPositioning Facebook Comments ...
Thread Solved

Positioning Facebook Comments on top of my Tab

This discussion has been marked as solved
User Image
tufan member
#1 posted on 10/5/13 (edited on 28/5/13)

How do I move facebook comments to the top of the tabs? I have sent you an image via email.

0
User Image
Mihail Stoychev Admin
#2 posted on 10/5/13 (edited on 28/5/13)
Hello Tufan, In order to place the Facebook Comments in that position you will need to edit the file facebookcomments.tpl located in /catalog/view/theme/default/module/. Find the <!-- END FacebookComments --> on line 40 and after that line insert this code:
<script>
$(document).ready(function(e) {
    $('.fb-comments').appendTo($('.product-info .right'));
});
</script>
<style>
.fb-comments, .fb-comments > span, .fb-comments > span > iframe {
width:100% !important;
}
</style>

Hope this helps, should you have any other questions or comments, please do not hesitate to contact us.

0