Site logo

Archived topic

Contain Floating Menu

1 reply · Started by Garth Dryland on October 8, 2014

Viewing posts 1–2 of 2

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?

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 :)

This archived topic is closed to new replies.