Contain Floating Menu

Home Forums Support Contain Floating Menu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38021
    Garth Dryland

    Hi Tom

    When selecting to contain the menu in customize, the child themes with floating menus don’t remain contained. Once they reach the top of the page they revert to the full fluid width.

    Is there a specific reason why you have done it this way and is it possible to add a setting to have the floating menus remain contained after reaching the top of the page if so desired?

    #38136
    Tom
    Lead Developer
    Lead Developer

    When an element is fixed, CSS forces it to be 100% width.

    However, there is a workaround that I’ll be adding to future versions of child theme’s with a sticky nav.

    You can find the CSS here: http://www.generatepress.com/forums/topic/navigation-menu-2/#post-13703

    Just be sure to adjust the container width and half of the container width, depending on what you have set in the Customizer.

    Let me know if you have any questions 🙂

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