Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • trevorellis Friend
    #964570

    the problem appears to be within jasocial.php part of which is shown below:

    function facebook_like_button($link, $plgParams)
    {
        $send = (int) $plgParams->get('display_send_button', 1);
        $send = $send > 0 ? 'true' : 'false' ;
        $fb_embed = $plgParams->get('fb_like_embed', 'iframe');
        $fb_layout = $plgParams->get('fb_like_layout', 'button_count');
        $fb_show_faces = $plgParams->get('fb_like_show_faces', 1);
        $fb_width = $plgParams->get('fb_like_width', 450);
        $fb_height = $plgParams->get('fb_like_height', 70);
        $fb_action = $plgParams->get('fb_like_action', 'like');
        $fb_font = $plgParams->get('fb_like_font', 'arial');
        $fb_color = $plgParams->get('fb_like_color', 'light');

    the width of 450 is referred to but does not specify pixels. This causes the page to render incorrectly. If I modify the code in my browser to make the width 150px it renders as I would like. however, I am not sure how to modify the syntax in jasocial.php because if I change the code to 150px my site crashes.

    Ninja Lead Moderator
    #965644

    Hi,

    What did you change on your site? You need to rollback them and please give me the FTP account of your site hosting and the screenshot of what did you want to do via private reply. I will check further

    Regards

    trevorellis Friend
    #965660

    Pankaj fixed this for me in Purity iii forum. Didn’t mean to put it in 2 places. How do I mark this as Solved?

    Ninja Lead Moderator
    #965712

    I marked Solved this thread

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 7 years, 7 months ago.

The topic ‘Positioning of icons in JA Social Plugin’ is closed to new replies.