# Own fixed while scrolling Navbar

**URL:** <https://meta.discourse.org/t/own-fixed-while-scrolling-navbar/279396>\
**Category:** Development\
**Tags:** css\
**Created:** [September 18, 2023, 2:48pm UTC](https://meta.discourse.org/t/own-fixed-while-scrolling-navbar/279396 "2023-09-18T14:48:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fuchs](https://avatars.discourse-cdn.com/v4/letter/f/bcef8e/32.png) [@fuchs](https://meta.discourse.org/u/fuchs)\
**Post date:** [September 18, 2023, 2:48pm UTC](https://meta.discourse.org/t/own-fixed-while-scrolling-navbar/279396/1 "2023-09-18T14:48:21Z")

</div>

Hello Discourse Community,

I have a question. I want to add my own fixed while scrolling Navbar on top of the Discourse Navigation.

So I added this part to the Customize Section in Header:

```plaintext
<div class="navbar">
    <div class="logo-container">
        <a href="https://www./"><img id="brand-logo" class="logo" src="logo.png" title="logo "></a> 
    </div>
    <div class="links-container">
        <a class="rt-border" href="https://www./"><i class="fa fa-fw fa-home"></i><span>Link 1</span></a> 
        <a class="rt-border" href="https://www./"><i class="fa fa-fw fa-link2"></i> <span>Link 2</span></a> 
        <a class="rt-border" href="https://www./"><i class="fa fa-fw fa-link3"></i><span>Link 3</span></a> 
    </div>
</div>

```

To make it a fixed navigation while scrolling I added this part to the class “navbar”:

position: fixed;  
top: 0;  
width: 100%;

But then my navbar is gone and only the discourse navigation is there and fixed while scrolling?

Thanks for the help!!

---

_[View the full topic](https://meta.discourse.org/t/own-fixed-while-scrolling-navbar/279396)._
