How To Remove Sticky Menu In Twenty Seventeen, And Make It UnSticky

March 6, 2017

The default main menu in Twenty Seventeen sticks to the top of the page after the header scrolls off the top of the page. The sticky behaviour can be removed, and the menu can be made to move off the top of the page.

The default sticky main menu.

The sticky main menu removed, and made unsticky.

Where and how to make the menu main not sticky:

In WordPress Admin > Appearance > Edit CSS.

Enter the CSS code below.

The CSS code:

.site-navigation-fixed.navigation-top {
	/* bottom: auto; */
	position: relative;
	/* left: 0; */
	/* right: 0; */
	/* top: 0; */
	/* width: 100%; */
	/* z-index: 7; */
Share this:
About Bharat Karavadra

"I research and share leading-edge information, tools and exercises to help people transform and heal their life situations."

Share your thoughts

Your email address will not be published. Required fields are marked

  1. Hello, This didn’t seem to work for me. I would like to remove the navigation bar completely since my site only needs one page at the moment. I pasted the code to the css and nothing changed. I also tried adding it through the customization option in the dashboard.

    1. Joe,
      I just put the code into the CSS of the customizer and it works — the menu scrolls off the top of the page.
      The CSS has not been created to remove the menu completely, but to allow it to scroll off the top of the page with the header.

  2. Hello,

    Thank you for your insights.

    I would love if you could make a post on how to move site title and logo from over sticky menu to the menu itself on twenty seventeen – like on this blog.

    Best regards,

            1. Thank you Matthew,
              On looking at the link, the solution is simpler than what I was thinking you wanted. I may have misread your original request and can only apologise. You have implemented it well on your site. I will leave the link here for others to use and if there are any implementation issues then I can write a separate tutorial on this site for it.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Bharat Karavadra