Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
menu system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2006 at 22:38 UTC
Updated:
15 Nov 2014 at 04:39 UTC
Jump to comment: Most recent
Comments
Comment #1
gregglesI changed your issue to a feature request against CVS because the behavior you describe seems pretty logical. It would be nice in the menu system to have the ability to designate certain menu items as "non breaking space delimited". I tried to enter
"this is a crazy long title for the link to the blogs but I want to test what happens with crazy long titles so it seems like"Which should achieve what you desire, but the text is output literally instead of as HTML.
I see two workarounds:
You can create a block with the desired HTML to create your menu and put that block into the header.
Or, you can use your theme template files to modify the behavior of the primary links menu.
Comment #2
gregglesI forgot to change the component.
Comment #3
L4san commentedAny news about this?
Comment #4
ask commentedYou should take a look at Menu HTML module: http://drupal.org/project/menu_html
And just use instead of plain spaces.
Comment #5
netw3rker commented@ask captured @greggles problem pretty accurately. If I understand what the OP was asking, its more about the fact that menu items are "float:left" in the primary links menu of the bluemarine theme, and as a result just keep stretching into/behind the other heading elements. EG a list like this:
would render like this:
item 1 item 2 item 3 item 4 item 5
From the sounds of the OP, they would like to be able to decide on an arbitrary break point, making the rendering like so:
item 1 item 2
item 3 item 4 item 5
You could do as @yes said, and add an html <BR> tag to "item 2", and be fine, but my suggestion would be to use the Menu Attributes module ( https://www.drupal.org/project/menu_attributes ). with that you could modify via the UI the 'style' output of a particular menu link to look like so:
which, without adding markup to your text, would also give you the output of:
item 1 item 2
item 3 item 4 item 5
Hope this helps, and forgive me for closing this (now 7 year old ticket). If this becomes a core issue feel free to open the issue back up!