Streaming live at 10am (PST)

Dropdown Nav - long links not flowing onto line below


I have seen this mentioned twice on this Forum, once in 2016 and the other time in 2017. The solution suggested is to force the CSS by adding the following styles to control things

.w-dropdown-toggle {white-space: normal;}

I have done this but it still isn’t fixing the issue (I also tried white-space: normal !important; - doesn’t work either)

Interestingly, when I un-check the lower mentioned element of 'white-space:no-wrap; (in re highlighted box) it fixes things. Even though it is listed as being struck through.

Can anybody tell me what’s going on here and how I can control it? Seems I can’t turn off the Webflow default setting of .w-dropdown-toggle{white-space:no-wrap; } (I don’t really want to put line breaks into the navigation.)

Here is my site Read-Only:
(how to share your site Read-Only link)

Hi, @grantsenior!

Thanks for reaching out about the dropdown workaround. I was able to take a look at your project, and the custom code that will work best is as follows:

.w-dropdown-link { white-space: normal !important; }

Feel free to replace your custom code with the above, and the text should wrap as expected:

1 Like

That worked.
Thank you!


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.