mgm_03
June 2, 2010, 10:19pm
1
I’m having a problem swapping the 2 columns on the default WordPress theme.
To clarify, the sidebar is on the right - by default - and I want to move it to the left side.
My effort to edit the CSS styles is not working. Has anyone tried this?
Even better would be to have a left and right sidebar with middle div for content.
On the run just now (sorry) but essentially you need to change these in style.css:
Change
.narrowcolumn {
float: left;
padding: 0 0 0px 5px;
margin: 0px 0 0;
width: 450px;
}
to
.narrowcolumn {
float: right;
padding: 0 0 0px 5px;
margin: 0px 0 0;
width: 450px;
}
and maybe change the padding a bit. and change
#sidebar {
padding: 20px 0 10px 0;
margin-left: 545px;
width: 190px;
}
to
#sidebar {
padding: 20px 0 10px 0;
float: left;
width: 190px;
}
I’ll be back later to see if this has helped.
Thanks for trying to help. I tried that but no luck. I’m now trying other things but no luck either. Don’t know why this is such a problem - I have alot of experience with CSS and this task couldn’t be more simple.
ralphm
June 3, 2010, 12:07am
5
Are you able to post a link? That would make it easier to suggest style changes. I haven’t used the default theme for a long time.
ralphm
June 3, 2010, 11:19pm
6
I tested it locally and it worked fine. How are you going about it?
That link failed, unfortunately.