I am facing an issue on our mobile website where the footer with fixed positioning overlaps with a scrolling feed underneath it, causing the links in the feed to be clickable from the footer area.
Footer CSS:
.footer {
position: fixed;
bottom: 0;
right: 0;
left: 0;
z-index: 1030;
height:45px;
.background-image-gradient (@topFooterColor, @bottomFooterColor);
box-shadow: 1px 0px 1px 1px rgba(0, 0, 0, 0.45);
background-repeat: repeat-x;
text-align:center;
border-top: 1px solid @topFooterBorder;
}
The feed is inside a div named status_updates:
.status_updates {
border-left:0px;
margin-top:0px;
margin-bottom:10px;
}
The issue arises because the links within the status updates div remain clickable through the footer at the bottom of the screen.
I have tried adjusting the z-index of .status_updates but to no avail. It seems that the fixed position of the footer overrides it.
While one solution would be to make the .status_updates div absolute and adjust the heights accordingly, this would require restructuring many other pages on the site.
Is there a way to resolve this without changing the fixed positioning of the .footer div and maintaining relative positioning for the .status_updates div?
A visual representation of the problem can be seen below: