# Pinned menu puts entry on two lines

**URL:** <https://discuss.write.as/t/pinned-menu-puts-entry-on-two-lines/1772>\
**Category:** Help\
**Tags:** troubleshooting\
**Created:** [September 1, 2020, 8:02pm UTC](https://discuss.write.as/t/pinned-menu-puts-entry-on-two-lines/1772 "2020-09-01T20:02:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![matt](https://discuss.write.as/user_avatar/discuss.write.as/matt/32/2760_2.png) [@matt](https://discuss.write.as/u/matt)\
**Post date:** [September 2, 2020, 11:47am UTC](https://discuss.write.as/t/pinned-menu-puts-entry-on-two-lines/1772/4 "2020-09-02T11:47:43Z")

</div>

Hi @PaulSutton, the CSS property you’ll want to use here is `white-space: nowrap` – this tells the individual links not to wrap the text inside them.

All together, with that `.pinned` section cleaned up, this CSS should work:

```css
.pinned {
    color: #0000ff;
    background-color: #ffffff;
    font-weight: 900;
    white-space: nowrap; /* Prevent links from wrapping */
}

body#collection header nav {
    overflow-wrap: break-word; /* Allow overall nav to wrap links */
}
```

---

_[View the full topic](https://discuss.write.as/t/pinned-menu-puts-entry-on-two-lines/1772)._
