I've searched through numerous threads on stackoverflow regarding this issue and attempted various solutions using jQuery, HTML, and CSS. Unfortunately, none of them seem to be working as expected for my situation. Can someone lend a helping hand?
Here is my HTML:
<div id="product-summary-position">
<div id="product-fixed">
<div id="product-summary">
<header>Product Summary</header>
<div class="price" name="product-summary-price">$0.00</div>
<header>Have Questions?</header>
<p>Call our Product Experts<br> 1-877-270-3311</p>
<button class="btn-reset">Reset</button>
</div>
</div>
</div>
And here is my CSS:
#product-summary-position{float: right;
height: 185px;
width: 185px;}
div#product-summary {
font-family: 'roboto';
height: 230px;
width: 185px;
background-color: #2A0092;
border-radius: 5px;
text-align: center;
color: #FFF;
top: 250px;
}
div#product-fixed {
position: fixed;
}
Despite my efforts, I'm still facing an issue where the product summary section overlaps with the footer (which is approximately 400px tall) when scrolling down. I have tried implementing solutions found online but haven't been able to resolve it successfully.
Any assistance would be greatly appreciated.
Edit: jsfiddle