I have been trying to find a solution for my fixed div that sticks to the bottom, but nothing seems to work.
My goal is to have the div stop when it reaches the #footer section of the page.
Visit the site
The CSS currently in place gives the div the class .widget.widget_nav_menu. I need a script that can change this class to .widget.widget_nav_menu.fixed_button when it reaches the border of the footer. Is this feasible?
.widget.widget_nav_menu{
background: none repeat scroll 0 0 #2E3337;
bottom: 0;
padding: 25px;
position: fixed;
right: 2%;
color: #707480;
font-size: 0.8em;
opacity: 1;
text-transform: uppercase;
}
.widget.widget_nav_menu.fixed_button {
margin-right: -210px;
position: absolute !important;
top: -180px;
background: none repeat scroll 0 0 #2E3337;
padding: 25px;
right: 2%;
}