Add class to p element