Alignments: Advanced placement for your content

Watercolor website wireframeWhile the WordPress Editor provides traditional alignment options, we do not recommended you use them, as they don’t adhere to best design practices. WordPress uses something called inline CSS for alignment. Inline styles blur the line between content structure and visual presentation, and ultimately using them makes it difficult to make site-wide changes or maintain consistency across pages.


Watercolor website wireframe

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Watercolor website wireframeSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.


Instead of using WordPress’s built-in alignments, it’s preferable to use CSS classes defined in a stylesheet—the approach Less uses.

To create elements with alignment add the .left, .right, or .center class to your paragraph or image.

<img class="right" src="http://lesswp.com/watercolor-wireframe.webp" alt="Watercolor website wireframe" width="150" height="150" />