• Resolved mapsmarketing

    (@mapsmarketing)


    When setting the section to be sticky the full screen menu only fills the area of the section itself and not the page

Viewing 1 replies (of 1 total)
  • Thread Starter mapsmarketing

    (@mapsmarketing)

    Looking at your code, I’ve noticed that you’ve nested the menu-overlay element along side the menu-toggle in the same element. That’ll work fine with any section that isn’t set as sticky, but once you set the section sticky the menu-overlay will get cut off.

    I’ve modified your code to give the menu-overlay a unique id, moved it into just after the opening of the body tag and added javascript code to show/hide it depending on whether the menu-toggle is checked.

Viewing 1 replies (of 1 total)
  • The topic ‘Doesn’t work when section is set to sticky’ is closed to new replies.