html - Wordpress Posts Overlapping -
i posted on wordpress development stack exchange , said more suitable here
this simple css issue here goes anyway:
i'm developing wordpress theme has left sidebar , posts on right, posts overlap , can't flow down page.
because html part of loop, divs copied multiple times.
i have html reset further in code if helps anyone.
the code posts looks this:
html:
<div class="propbox"> <p class="propertytext"><?php the_title(); ?></p> <div class="propertybox"></div> <div>
css:
.propertybox { position: absolute; top: 103px; left: 43%; width: 50%; height: 356px; background-color: rgb(222, 222, 222); margin-top: 15px; } .propertytext { position: absolute; top: 112px; left: 56.75%; z-index: 1; width: 20.4%; min-height: 47px; line-height: 1.38; text-align: center; color: white; font-family: 'raleway'; font-weight: 200; font-size: 31px; }
i can't work!!
appreciated
thanks,
tom
remove
position:absolute;
from
.propertytext { }
and
.propertybox{ }
you can give position.
try ...
Comments
Post a Comment