[Resolved] Slideout Navigation push content down when opens. How to fix this?

Home Forums Support [Resolved] Slideout Navigation push content down when opens. How to fix this?

Home Forums Support Slideout Navigation push content down when opens. How to fix this?

  • This topic has 3 replies, 2 voices, and was last updated 6 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #525595
    Antonio

    Hi there ๐Ÿ™‚

    I am having problem on a website with the Slideout navigation on mobile.

    When it opens the content is pushed down. Then, as soon I close it, is pushed up again.

    How can I fix this?

    Thanks in advance ๐Ÿ™‚

    #525846
    Leo
    Staff
    Customer Support

    Hi there,

    Your site is locked with a password. Can you provide it through Account Issue or unlock it?

    Make sure you reference the topic.

    https://generatepress.com/contact/

    Thanks!

    #526025
    Antonio

    Hi Leo,

    I figured it out. I just changed this in CSS:

    .main-navigation.toggled .main-nav > ul {
    		display: block;
    	}

    to

    .main-navigation.toggled .main-nav > ul {
    		display: none;
    	}

    And it works.

    #526481
    Leo
    Staff
    Customer Support

    Awesome!

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