Try removing <div style="clear: both;"></div> from the Loop within your theme’s template files.
Thread Starter
simrn
(@simrn)
which template files? I mean is it index.php, functions.php, page.php, or what?
well, i tried to find the <div style=”clear: both;”></div> in all of the above php files but i couldnt 🙁
help!
it can possibly be fixed by adding overflow:hidden; the the style of .entry in style.css of your theme:
.entry {
padding: 10px 0 2px 0px;
border-top: 1px solid #CCC;
line-height: 1.4em;
margin: 0 170px 25px 0;
overflow:hidden;
}
Thread Starter
simrn
(@simrn)
it resolves the prob on archive and category page, but home page now shows too much blank space before first post http://www.allsmsmessages.com/blog/ …. i guess need to add more code to fix this on home page too?
add this new style after the style of #wrap:
#wrap:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
and add a ‘float:left;’ to the style of #main:
#main {
width: 800px; margin: 12px 20px 0 170px;
padding-bottom: 50px;
float:left;
}
http://www.positioniseverything.net/easyclearing.html
this seems to solve the front page display problem;
Thread Starter
simrn
(@simrn)
GREAT … my problem solved.
Thank you so much alchymyth.
Prayers and Peace.
Thread closed.