{"id":5289,"date":"2017-08-31T15:58:12","date_gmt":"2017-08-31T12:58:12","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5289"},"modified":"2017-08-31T15:58:12","modified_gmt":"2017-08-31T12:58:12","slug":"captioned-image-with-alignnone-class-aligned-with-screen-left-instead-of-content-left","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2017\/08\/31\/captioned-image-with-alignnone-class-aligned-with-screen-left-instead-of-content-left\/","title":{"rendered":"Captioned image with alignnone class aligned with screen left instead of content left"},"content":{"rendered":"<h3>Steps to reproduce<\/h3>\n<p>Add an image to a post, type in a caption and set alignment to &#8217;None&#8217;.<\/p>\n<h3>What I expect to happen<\/h3>\n<p>I&#8217;d expect the captioned image to be left-aligned with the main content column&#8217;s left, in line with\u00a0<code>&lt;p&gt;<\/code>elements.<\/p>\n<h3>What happens<\/h3>\n<p>The image is left-aligned to the left edge of the screen.\u00a0<a href=\"http:\/\/mummila.net\/kommentit\/files\/2017\/08\/Kuvakaappaus-2017-08-31-15-47-07.png\">My attachment<\/a>\u00a0is a screenshot of a post with one uncaptioned and one captioned alignnone image.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add an image to a post, type in a caption and set alignment to &#8217;None&#8217;. Instead of aligning with <\/p>\n<p>elements, the image is left-aligned to screen left.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[2965],"class_list":["post-5289","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-wordpress","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=5289"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5289\/revisions"}],"predecessor-version":[{"id":5291,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5289\/revisions\/5291"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}