$buttonText = '<div style="position: relative; top:0px; left:0px; z-index: 98;" class="scsocialbuttons">';
if ($showLinkedInButton || $showTwitterButton || $showGooglePlusButton)
{
$extraButtonText = SCSocialUtilities::getExtraShareButtons($url, $buttonStyle, false, false, $showTwitterButton, $showGooglePlusButton, $renderKeyString, $showLinkedInButton);
$buttonText .= $extraButtonText;
}
$buttonText .= $likeText; // <------ Move this line up$buttonText = '<div style="position: relative; top:0px; left:0px; z-index: 98;" class="scsocialbuttons">';
$buttonText .= $likeText;
if ($showLinkedInButton || $showTwitterButton || $showGooglePlusButton)
{
$extraButtonText = SCSocialUtilities::getExtraShareButtons($url, $buttonStyle, false, false, $showTwitterButton, $showGooglePlusButton, $renderKeyString, $showLinkedInButton);
$buttonText .= $extraButtonText;
}Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
