Hi,
Whenever the accordion is hit (mobile + desktop), it moves the entire page content down. I’d like to have the accordion just open over the page without moving the content down.
I’ve tried a few different solutions, but nothing has worked. Here’s the JS fix:
jQuery( function ( $ ) {
$(document).on('click', '.x-accordion-toggle', function( e ){
$('html, body').stop();
});
});
I’ve also tried this,which was a CSS suggestion:
.x-navbar.x-navbar-fixed-top {
position: fixed;
}
/*nav bar stays on top*/
.x-navbar.mobile.x-nav {
margin: 0px 0 !important;
A couple times, the accordion has expanded over the page itself without actually moving the content down, but that was after I had already expanded and collapsed it and scrolled down. It wouldn’t work immediately on loading the page. (However, it’s not doing this anymore and pushes the content down every time now.)
None of these are working, so any help is appreciated. Thanks!