• Resolved mugwumpr

    (@mugwumpr)


    I’ve been trying to add a second sidebar to my 2-column theme, and everything has worked swimmingly with one exception. The new sidebar is appearing UNDER the old one instead of to the right of it. I know this is probably a very simple fix, but at the moment I’m just unable to see where I went wrong.

    I’ve created a “sidebar2” section in the CSS file and tried playing with that, but it just doesn’t seem to want to move up to its rightful place.

    Any kind soul out there willing to try pointing out my fundamental error?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    You’ll need to edit your theme’s stylesheet to both make room for the new sidebar and to (I assume) float it to the right of the existing sidebar).

    Thread Starter mugwumpr

    (@mugwumpr)

    I figured out what I had to do with the stylesheet! Thanks esmi. For anyone else with the same problem:

    Create a new div just for the sidebars, then have one sidebar float left, and the other float right WITHIN the new div. Having them both floating right out there each on their own doesn’t work very well.

    :o)

    #sidebars {
            width: 300px;
            float: right;
    }
    
    #sidebar {
    	width: 150px;
    	float: left;
    }
    
    #sidebar2 {
    	width: 150px;
    	float: right;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New sidebar appears under existing, rather than beside’ is closed to new replies.