I've recently made changes to my responsive menu, but I'm facing an issue where the menu disappears upon resizing.
When my window size is reduced to below 1100px and I open the responsive menu, everything works as expected. However, upon closing the menu, Jquery adds a display: none inline attribute.
This causes my screen to disappear when I resize back to full width.
I am looking for a solution to override or remove the inline CSS so that everything functions properly. Any suggestions on how to fix this would be greatly appreciated.
<script>
$(document).ready(function() {
$('.button-open').click(function() {
$('.navigational-menu').slideToggle('test');
$(this).toggleClass('button-close');
});
});
</script>