How to change text alignment

If you'd like to change how your text aligns on your website, this is the tutorial for you! Please note these code snippets will only change text alignment on posts and pages (homepage will not be affected).

How to add code snippets to your theme >

Justify Text

.single-post .post .entry-content p,
.page .entry-content p {
    text-align: justify; }

Center Text

.single-post .post .entry-content p,
.page .entry-content p {
    text-align: center; }

Left Align Text

.single-post .post .entry-content p,
.page .entry-content p {
    text-align: left; }