{"id":2175,"date":"2008-10-13T23:21:39","date_gmt":"2008-10-13T23:21:39","guid":{"rendered":"http:\/\/www.bargh.co.uk\/blog\/?p=50"},"modified":"2008-10-13T23:21:39","modified_gmt":"2008-10-13T23:21:39","slug":"images-not-right-aligning-in-wordpress","status":"publish","type":"post","link":"https:\/\/bargh.co.uk\/blog\/images-not-right-aligning-in-wordpress\/","title":{"rendered":"Images not right aligning in WordPress"},"content":{"rendered":"<p>If you&#8217;re like me and have a wordpress blog that you&#8217;ve updated to 2.6 you may have found that you cannot right align photos in your blog posts.<br \/>\nThis is because many of the site templates are not totally up to date. <\/p>\n<p>The solution is to edit your CSS style sheet<br \/>\n<strong>1<\/strong> Go to your Site&#8217;s admin panel<br \/>\n<strong>2<\/strong> Click on the Design tab and then Theme editor below the tab. It should bring up the style sheet (style.css) If not look at the Theme Files list on the right.<br \/>\n<strong>3 <\/strong>Click the Ctl+F to bring up a search window and key in <strong>img right<\/strong> or even just <strong>img r<\/strong> and click next.<br \/>\n<strong>4<\/strong> Find the line <\/p>\n<blockquote><p>img align left{ float:left; margin:0 12px 5px 0; }<\/p><\/blockquote>\n<p> and change it to <\/p>\n<blockquote><p>.alignright { float:right; margin:0 0 5px 12px; }<\/p><\/blockquote>\n<p>This will then ensure that images are right aligned. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re like me and have a wordpress blog that you&#8217;ve updated to 2.6 you may have found that you cannot right align photos in your blog posts. This is because many of the site templates are not totally up to date. The solution is to edit your CSS style sheet 1 Go to your [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1296],"tags":[1325,1532,1737,2195,2304],"class_list":["post-2175","post","type-post","status-publish","format-standard","hentry","category-helping-hand","tag-align-right","tag-css","tag-image","tag-template","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2175"}],"version-history":[{"count":0,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2175\/revisions"}],"wp:attachment":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}