I have a fixed position div which is controlled as such.
#backtoallprojects {
float: none;
position: fixed;
top: 0px;
right: 0px;
z-index:9999;
background-color: rgba(0,0,0,0.5);
}
However, I only want it to reveal/appear after the page has been scrolled 95 pixels down.
This is because the main nav bar is 95px in height, and it is overlapping with other buttons, so should only reveal once the main nav has been scrolled out of the page.
Any help would be appreciated
Thanks
PS I have tried both these, but to no avail: