newly added sidebar showing below content
-
Hello world. I’m running the Sandbox 1.6.2 theme. I’ve added a new sidebar on the right of my pages. The problem is that it’s appearing below my content, to the right of the footer.
I’ve googled around — I don’t think it’s unclosed div as I’ve tried adding </div> in front of the <?php get_sidebar(‘right’) ?> call in page.php.
You can see it the problem here: https://www.englishcurrent.com/esl-materials-2/indefinite-articles-a-an-english-sounds/
Is it a problem with the floating? Here’s the code:
/*
LAYOUT: Three-Column
DESCRIPTION: Three-column fluid layout with two sidebars on both sides of content
*/
div#container {
width:100%;
}div#content {
float: left;
margin:0 260px 0 180px;
}div.sidebar {
overflow:hidden;
width:160px;
}div#primary {
float:left;
margin:0 0 0 -100%;
}* html div#primary {
left:20px;
position:relative;
}div#secondary {
float:left;
margin:0 0 0 -180px;
}div#third {
width:250px;
float:right;
}div#footer {
clear:left;
width:100%;
}Any help would be appreciated!
- The topic ‘newly added sidebar showing below content’ is closed to new replies.