Adding CSS class for text elements.