Image alignment not working on my own WP theme
<p>I'm bulding my own Wordpress theme and I'm trying to align image to center or side via post editor, but it's still default aligned (left).</p>

<p>In editor it displays properly not on the site though.</p>