CRM-15494 Fix label display for Joomla 3.x

Fix the display of the labels so they are readable in the default
template in Joomla 3.
Merge pull request #4397 from crusonweb/CRM-15494

CRM-15494 Fix label display for Joomla 3.x