I am currently creating a SlideOut filter div. By default, this Div is positioned on the right side of larger screens. However, when the screen size decreases, the Sidebar
disappears and the .SlideOutTab becomes visible.
Between 768px and 992px, both the .slideOutTab
and the #facetsSlide
are not functioning as intended.
These two divs are floating apart from each other.
I have tried adding CSS in media queries for the space between 768px and 992px, but it did not solve the issue.
If you would like to see the code, here is a link to the fiddle.
Could someone provide assistance with this?
$(document).ready(function(){
$('.slideOutTab').on("click", function(){
$("#facetsSlide").toggleClass('show');
$('.slideOutTab').toggleClass('showSlideOut');
} );
});