drupal display submenu when parent has been selected - drupal

I've have a menu structure that has a depth of 3 levels on a drupal 6 CMS.
When I click on a level 1 that has children, the level 2 menu items display fine. If the level 2 has children, it is not showing the level 3.
If I check the expanded box the level 3 is displayed however, it displays all the time irrespective of the level 2 that has been selected. It seems to display whenever it's parent level 1 is selected.
For further information, the menu items are a mixture of custom links & content links. i.e. Links I've enetered manually when creating the menu and others generated by when creating a node or view display.
All I want is to show the children if there are any for the selected parent.
Am I missing something fundamental here?
Thanks
Steve

In the menu settings you should play around with a setting called "expanded". See /admin/build/menu-customize/primary-links and play around with the expanded setting.
If you expand a menu item then all its children are displayed in the block, otherwise only when you click on the parent item do the children get displayed.
You can have some more control on menu's in blocks by checking out http://drupal.org/project/menu_block

Related

Menu wraps - how to control # of items

I'm adding a page to a site (with BeTheme), and it's going under a new menu item. Now the menu is wrapping to a new line for this single item. If I move the menu item, the menu still wraps. There were 7 items, I'm adding an 8th.
Looking at the code generated, a class of "last" is being added, and that seems to control the wrapping.
There's plenty of room for the item, the wrapping seems arbitrary. I can't see where this attribute is set.
Thanks in advance.

Joomla 3.9: Menu item set to Separator is not clickable to reveal sub-menu items

I am building a website in Joomla, and I'm trying to make a menu in which some menu items should not have any article associated with it; clicking on them should only reveal the sub-menu items, but the rest of the page should stay static. So, I set that parent menu item to Separator, and added some sub-menu items to it. However, for some reason, the parent menu item is not clickable, meaning that I cannot reveal the sub-menu items.
Here is my website: http://vaterlinija.lt/
The parent menu item that has sub-menu items is the second one from the bottom (as you can see, it is non-clickable).
How do I fix this? I tried using Menu Header and URL (set to #) instead, but the result is the same. The only way to make these sub-menu items to show is to set that parent menu item to something like Single Article or similar, which is precisely what I want to avoid. I am using my own template, made from scratch. Do I need to add something to CSS, maybe?

Gantry 5.1.2 - Layout Block Width

This is a really simple question..but in Gantry 5.1.2, I'm attempting to set three block elements in the template - layout for the header in a horizontal row. From left to right:
a menu for registered members (70%) (acl registered)
login block for guests (10%) (acl public)
login block for signed in users (20%) (acl registered)
I have this configured, problem is item 1 - the menu is only visible to registered clients, it collapses causing item 2 to move to the far left as item 1 no longer takes up 70%. How can I make item 2 login block remain aligned to the right portion of the page (positioned as if the 70% menu hadn't collapsed) without using css positioning?
I've tried using spacers, but they remain once logged in. I then tried adding a transparent border and setting a width, but that will cause other issues I'd like to avoid.
There has to be a more proper way to do this, but my solution for now is to create a new menu item with a single alpha character and set it to public as a menu heading type within the client menu. Add a css class to this menu item with display: none to remove the character from the menu directory.
Seems like a silly fix for something I'm sure Gantry can handle.
You can click on the particle gear in Layout Manager and under the Block tab you can select the "Fixed Size". This will make the Login block to be fixed at 20% no matter the surrounding.

CSS - Problems with z-index and overlapping divs

I have some problems with my main menu bar. The menu bar has three levels; level one holds the main items, level 2 is the menu that goes down as soon as I put the mouse over a level 1 item and the level 3 menu appears on the right side of the level 2 menu. You can see these things on the following image:
What I want to achieve is that the level three menu is covered by the level two menu, exactly like it is shown on the picture. I want the shadow to be on the level three menu.
Now at the moment it is the other way round, namely the level three menu lies on the level two menu. So the shadow of the level 3 menu is placed on the level 2 menu. You can see this by clicking on the following link: http://beleveneleven.bplaced.net/
I tried this by changing the z-index, creating a new stack layer by using the :before pseudo-css selector, but nothing worked until now.
Any help is very appreciated!
Thanks.

CSS wordpress second level sub menu items disappear on hover

Using a blank Wordpress theme to create a custom site, but it did not have any CSS for a drop down submenu. I have it basically working but when I try to move the cursor to the second drop down item down under the (events tab) the sub menu disappears.
site is here
I thought I have it all set to display block so that the whole menu item is the button, but not the case here.
You need to set the z-index of the drop down menu higher than the image. By default elements have a z-index of 1, so anything greater than 1 will do (unless you've specified otherwise)

Resources