# Keep the main menu fixed

**URL:** <https://colorlibsupport.com/t/keep-the-main-menu-fixed/18521>\
**Category:** Activello\
**Created:** [October 16, 2017, 8:39am UTC](https://colorlibsupport.com/t/keep-the-main-menu-fixed/18521 "2017-10-16T08:39:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lydiamalagon](https://colorlibsupport.com/user_avatar/colorlibsupport.com/lydiamalagon/32/2005_2.png) [@lydiamalagon](https://colorlibsupport.com/u/lydiamalagon)\
**Post date:** [October 16, 2017, 8:39am UTC](https://colorlibsupport.com/t/keep-the-main-menu-fixed/18521/1 "2017-10-16T08:39:30Z")

</div>

Hello,

I would like to keep the main manu fixed showed always on the top of the page with the background in white color.

Thanks,

Lydia

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [October 16, 2017, 9:27am UTC](https://colorlibsupport.com/t/keep-the-main-menu-fixed/18521/2 "2017-10-16T09:27:08Z")

</div>

Hello there,

I hope you are doing well today.

You can use the following CSS code to make the create a static menu by going to Appearance \> Customize \> Additional CSS and pasting it there.

```auto
/*Static menu*/
.navbar.navbar-default {
    width: 100%;
    position: fixed;
    z-index: 2;
}

#logo {
    padding: 85px 0 45px 0;
}

```

Best Regards,  
Support

---

<div class="post-metadata">

**Author:** ![lydiamalagon](https://colorlibsupport.com/user_avatar/colorlibsupport.com/lydiamalagon/32/2005_2.png) [@lydiamalagon](https://colorlibsupport.com/u/lydiamalagon)\
**Post date:** [October 16, 2017, 2:02pm UTC](https://colorlibsupport.com/t/keep-the-main-menu-fixed/18521/3 "2017-10-16T14:02:57Z")

</div>

Working!

Thank you so much!

Lydia

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [October 17, 2017, 1:52pm UTC](https://colorlibsupport.com/t/keep-the-main-menu-fixed/18521/4 "2017-10-17T13:52:41Z")

</div>

Hello there,

I am glad the solution worked for you.  
Please feel free to contact us again in the future regarding any other issues.

Best Regards,  
Support
