Hi,
I have a lightbox gallery and also a sticky nav bar that appears as you scroll down the page.
The nav bar some how appears on top of everything so some of the gallery is hidden underneath.
Is there a way to hide my nav bar when a div is open and then appear again when closed?
This is my jQuery for the gallery:
$('#my-gallery').eagleGallery({
miniSliderArrowStyle: 2,
theme: 'light',
showMediumImg: true,
openGalleryStyle: 'transform'
});
and the class for the sticky nav is
navbar-fixed-top
Any ideas how I can add/remove class when the my-gallery class is active?
Thanks!