centering text if paragraph has a center class