# Crie um cabeçalho de navegação global responsivo (Linkando entre Discourse e WP)

**URL:** <https://meta.discourse.org/t/create-a-responsive-global-navigation-header-linking-between-discourse-and-wp/98650>\
**Category:** Product Support\
**Created:** [3 Outubro , 2018 16:43 UTC](https://meta.discourse.org/t/create-a-responsive-global-navigation-header-linking-between-discourse-and-wp/98650 "2018-10-03T16:43:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)\
**Post date:** [4 Outubro , 2018 15:25 UTC](https://meta.discourse.org/t/create-a-responsive-global-navigation-header-linking-between-discourse-and-wp/98650/4 "2018-10-04T15:25:50Z")

</div>

Hello @Johani! [Your answer on another thread](https://meta.discourse.org/t/best-way-to-customize-the-header/13368/53) inspired me and helped me get closer to my goal of having a sticky navigation at the [top of my site](https://community.jewelbound.com). I’ve got it working now, but was hoping you could take a look at my CSS on my header and offer any feedback on my [last post](https://meta.discourse.org/t/create-a-responsive-global-navigation-header-linking-between-discourse-and-wp/98650/3). For some reason, I can’t get the elements centered and evenly spread across my navbar.

My CSS:

```css
/* Style the navigation bar */
.d-header {
    margin-top: 45px;
    position: fixed;
}

#main {
    padding-top: 45px;
}

.navbar {
  margin: 0;
  width: 100%;
  position: fixed;
  line-height: 45px;
  background-image: linear-gradient(#66ccb4, #2d8671);
  z-index: 1001;
  box-shadow: 0 1px 4px 0px white;
}

/* Navbar links */
.navbar a {
  float: left;
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  width: 19.8%;
}

.rt-border {
  border-right: 1px solid #c6ece3;
}

/* Navbar links on mouse-over */
.navbar a:hover {
  background-image: linear-gradient(#3aae93, #206051);
}

/* Add responsiveness - will automatically display the navbar vertically instead of horizontally on screens less than the number of pixels defined here */
@media screen and (max-width: 800px) {
  
  .navbar{
    display: flex;
  }
  .navbar span{
    display: none;
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/create-a-responsive-global-navigation-header-linking-between-discourse-and-wp/98650)._
