I'm having a tough time figuring this out. I initially thought it was the negative margin causing the issue, but even after removing it, the problem persists.
Check out the link below to see what I mean when you click on one of the list items at the top:
I've included my CSS code for reference:
#productNav {
position: relative;
list-style: none;
z-index: 200;
padding-bottom: 20px;
}
.selectedSubSlide {
display: block;
}
#productNav li {
display: none;
}
Although I don't think it's an issue with the CSS. Could it possibly be something in the jQuery script?
$().ready(function() {
$('#productNavReference li').click(function() {
var selectedSlide = $(this).attr('rel');
$('#productNav li[rel="'+selectedSlide+'"]').fadeIn(500, function() {
$('#productNav li').removeClass('selectedSubSlide');
$(this).addClass('selectedSubSlide');
});
$('.selectedSubSlide').fadeOut(500);
});
});
Any assistance would be greatly appreciated. Thank you!