{"id":6218,"date":"2012-01-15T07:15:51","date_gmt":"2012-01-15T12:15:51","guid":{"rendered":"http:\/\/www.allyngibson.net\/?p=6218"},"modified":"2014-01-21T15:19:12","modified_gmt":"2014-01-21T15:19:12","slug":"on-swapping-twitters-columns-around","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=6218","title":{"rendered":"On Swapping Twitter&#8217;s Columns Around"},"content":{"rendered":"<p>Yesterday morning I logged into <a href=\"http:\/\/www.twitter.com\/\">Twitter<\/a>.  This is what I saw:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/draftsauronpac.files.wordpress.com\/2012\/01\/twitter1.jpg\" style=\"width: 100%; height: auto;\" \/><\/p>\n<p>Yes, I&#8217;d been upgraded to &#8220;<a href=\"http:\/\/www.guardian.co.uk\/technology\/blog\/2011\/dec\/08\/twitter-launches-new-version\">New New Twitter<\/a>,&#8221; which began going live to users a month and a half ago.<\/p>\n<p>It&#8217;s fine, and it&#8217;s functional, but one thing irked me.<\/p>\n<p>I didn&#8217;t like the column layout.  For as long as I&#8217;ve been using Twitter, the stream is on the left, and the sidebar is on the right, and the new design has those flipped &mdash; sidebar on the left, stream on the right.  The first thing I see in the top right when I log into Twitter shouldn&#8217;t be who I am, since I know who I am.  It&#8217;s the content that I want, and that should be on the left. \ud83d\ude42<\/p>\n<p>Fortunately, that was an easy CSS fix.  I opened up Opera Dragonfly (the code debugger), figured out what the DIVs were called, and I wrote these two lines of code:<\/p>\n<p><code>.dashboard {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float: right !important;<br \/>\n}<\/p>\n<p>.content-main {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float: left !important ;<br \/>\n}<\/code><\/p>\n<p>Now when I access Twitter, Opera pulls up a stylesheet just for Twitter, and the columns are flipped around &mdash; stream on the left, sidebar on the right &mdash; just like so&#8230;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/draftsauronpac.files.wordpress.com\/2012\/01\/twitter2.jpg\" style=\"width: 100%; height: auto;\" \/><\/p>\n<p>Nicely done. \ud83d\ude42<\/p>\n<p>Firefox users, this is the code you would want to add to your userContent.css file to flip &#8220;New New Twitter&#8221;&#8216;s columns around:<\/p>\n<p><code>@-moz-document domain(twitter.com) {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;.dashboard {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float: right !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;}<\/p>\n<p>&nbsp;&nbsp;&nbsp;&nbsp;.content-main {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float: left !important ;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;}<br \/>\n}<\/code><\/p>\n<p>The fun things one can do with local code. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday morning I logged into Twitter. This is what I saw: Yes, I&#8217;d been upgraded to &#8220;New New Twitter,&#8221; which began going live to users a month and a half ago. It&#8217;s fine, and it&#8217;s functional, but one thing irked me. I didn&#8217;t like the column layout. For as long as I&#8217;ve been using Twitter,<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=6218\">Continue reading <span class=\"screen-reader-text\">&#8220;On Swapping Twitter&#8217;s Columns Around&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4095],"tags":[57],"class_list":["post-6218","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-css","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/6218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6218"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/6218\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6218"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}