I'm facing an issue with a jquery slideshow that contains quotes of varying lengths. The problem is, the longer quotes overlap with the content below them. I'm trying to figure out how to make the longer quotes push the rest of the page down, avoiding any overlap. HTML:
<div id="page" class="hfeed">
<div id="main">
<div id="primary">
<div id="content" role="main">
<article id="post-2466" class="post-2466 page type-page status-
publish hentry">
<div class="entry-content">
<div class="brad aside aside-1" >
<img class="alignnone size-full wp-image-12" title="image"
src="/wp-content/uploads/2012/06/image.jpg" alt="" width="204" height="233" /></p>
<blockquote><p>Photo courtesy of Ron Pownall ©2003</p>
</blockquote>
</div>
<div class="defaultText main"></div
<div id="quote" class="quotes aside aside-2">
<div id="quote1" class="quote"></div>
<div id="quote2" class="quote"></div>
<div id="quote3" class="quote"></div>
<div id="quote4" class="quote"></div>
</div><!--quote-->
<footer id="colophon" role="contentinfo">
<div id="site-generator" class="col-sm-12 footer">
<ul id="menu-bdf" class="menu bottom-menu col-sm-12 col-md-12">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</footer>
CSS:
body {
background-color:#144374!important;
color:#FFFFFF!important; font-size:11pt!important; margin:0px; margin:0 auto; padding:0px 0px 0px 0px;
font-family: inherit;
position: relative;
height: auto;
min-height: 100% !important;
}
#primary .entry-content {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
}
#primary .entry-content> * {
flex: 1 100%;
}
/* Large screens */
@media all and (min-width: 800px) {
/* We invert order of first sidebar and main
* And tell the main element to take twice as much width as the other two sidebars
*/
.main { flex: 2 0px; }
.brad {
order: 1;
max-width: 204px;
}
.main {
order: 2;
max-width: 33%
}
.aside-2 {
order: 3;
max-width: 33%
}
.footer { order: 4; }
}
.quote {
padding:0px 10px 10px 10px;
font-family:times new roman;
line-height:2.6em;
font-style: italic;
font-size:10pt;
color:#a7d2ff;
}
/*********** FOOTER ****************/
.footer {
clear: both;
overflow: hidden;
}
.created {
margin: 0 auto;
width: 70%;
}
Whenever a longer quote is displayed, it overlaps with the footer section. I need a solution that pushes the footer down, eliminating any excess space created by setting a min-height on the primary div. Any assistance on this matter would be highly appreciated.