Tag Archive for column

How can I switch the right and left column of a wordpress theme?

Question by RandomGirl: How can I switch the right and left column of a wordpress theme?
I have a wordpress theme that I downloaded, it’s two column theme with a right sidebar. Can anyone please tell me if it’s possible to switch the two around? Or where I can get a tutorial on how to do it or something? So that I have a left sidebar. Can this be done easily? How?

Best answer:

Answer by HurricaneJuss
It is definitely possible, but how you do it depends on your theme. Most layout elements in wordpress use the float:left CSS property to position the sidebar & sub elements. You could tweak the CSS property on the .maincolumn entry to float:right. It would be better for you to modify the PHP layout files directly, and move the #sidebar div up above the main column. If they are both float:left elements, it would put the sidebar on the left.

Add your own answer in the comments!

Powered by Yahoo! Answers