{"id":635,"date":"2012-11-04T01:19:21","date_gmt":"2012-11-03T20:19:21","guid":{"rendered":"http:\/\/www.esearing.com\/v2010\/?p=635"},"modified":"2012-11-04T01:20:58","modified_gmt":"2012-11-03T20:20:58","slug":"wordpress-changing-twentyten-css-to-put-sidebar-on-left","status":"publish","type":"post","link":"https:\/\/www.esearing.com\/v2010\/2012\/11\/wordpress-changing-twentyten-css-to-put-sidebar-on-left\/","title":{"rendered":"WordPress &#8211; Changing twentyten css to put sidebar on left"},"content":{"rendered":"<p>And the nay sayers said it could not be done, but with a little CSS trickery I was able to switch the sidebar in the twenty-ten theme to the left side. I used a child theme which reads in all the other style elements from twenty ten then added this below.<\/p>\n<p><strong>Here is the CSS<\/strong><br \/>\n<code>#primary,<br \/>\n#secondary {<br \/>\n\tfloat: left;<br \/>\n\toverflow: hidden;<br \/>\n\twidth: 220px;<br \/>\n\tmin-height: 500px;<br \/>\n\tbackground-color: #A7350E;<br \/>\n\tpadding: 20px 10px;<br \/>\n}<\/p>\n<p>#container {<br \/>\n\tfloat: right;<br \/>\n\tmargin: 0  0 0 -260px;<br \/>\n\twidth: 100%;<br \/>\n}<\/p>\n<p>#content {<br \/>\n\tfloat: right;<br \/>\n\tmargin: 0  0 0 260px;<br \/>\n}<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>And the nay sayers said it could not be done, but with a little CSS trickery I was able to switch the sidebar in the twenty-ten theme to the left side. I used a child theme which reads in all &hellip; <a href=\"https:\/\/www.esearing.com\/v2010\/2012\/11\/wordpress-changing-twentyten-css-to-put-sidebar-on-left\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8],"tags":[48,47,44],"class_list":["post-635","post","type-post","status-publish","format-standard","hentry","category-code","category-css","tag-left-sidebar","tag-two-column-layout","tag-wordpress-child-theme"],"_links":{"self":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts\/635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/comments?post=635"}],"version-history":[{"count":3,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts\/635\/revisions"}],"predecessor-version":[{"id":638,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/posts\/635\/revisions\/638"}],"wp:attachment":[{"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/media?parent=635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/categories?post=635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esearing.com\/v2010\/wp-json\/wp\/v2\/tags?post=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}