Site logo

[Resolved] Off canvas broken after update

Home Forums Support [Resolved] Off canvas broken after update

Home Forums Support Off canvas broken after update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2578763
    Roberto

    Hi,
    I’ve just updated GeneratePress (3.3.0) and GenerateBlocks Pro (1.5.2), and now the off canvas panel is always open, covering page content, and it can’t be closed, as you can see here.
    How can I solve this?

    This is some CSS code added to the website:

    .main-navigation:not(.slideout-navigation) .main-nav li.nav-button a {
    	color: var(--accent);
    	border: 3px;
    	border-style: solid;
    	line-height: 36px;
    	border-radius: 8px;
    	margin-left: 20px;
    	transition: all 0.6s ease 0s;
    }
    
    .main-navigation:not(.slideout-navigation) .main-nav li.nav-button a:hover {
    	background-color: var(--accent-2);
    	color: var(--base-3);
      border-color: var(--accent-2);
    	border-radius: 8px;
    }
    /* Centratura Menu Off Canvas */
    nav#generate-slideout-menu {
        display: flex;
        align-items: center;
    }
    @media (max-width: 768px) {
        #generate-slideout-menu.do-overlay .slideout-exit {
            position: fixed;}
    }

    Thanks!

    #2579073
    Ying
    Staff
    Customer Support

    Hi there,

    It’s this CSS keeps the off canvas menu open by default:

    /* Centratura Menu Off Canvas */
    nav#generate-slideout-menu {
        display: flex;
        align-items: center;
    }

    Try changing it to:

    .slide-opened nav#generate-slideout-menu {
        display: flex;
        align-items: center;
    }
    #2579303
    Roberto

    It worked perfectly, thank you so much!

    #2579518
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.