Drop down menu text wrapping

Topic summary

A Shopify user encountered an issue where dropdown menu text was wrapping onto multiple lines. They initially applied CSS code (white-space: nowrap; to .header__menu-item in base.css) which successfully prevented text wrapping but created an unintended side effect: it prevented logo resizing.

The user shared:

  • Two screenshots showing the before/after states
  • A link to their development store with password access

Resolution: The issue was resolved by the original poster without sharing the final solution method.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

Hello, I’m trying to prevent the text of the menu options from wrapping.

I used this code in base.css, which stopped wrapping, but it prevented me from changing the size of the logo. As you can see in the second pic below.

.header__menu-item {
  white-space: nowrap;
}

https://pacess-theme-v2.myshopify.com/

pw: iffais

Thanks!

Nevermind, solved it