Hide content with classes to prevent flash of content.