Second menu block not showing children - drupal

I have installed a theme that has this block region:
In primary menu there was already a menu that works and can show children.
But i wanted to add another menu so i created a menu and placed the block in primary menu region bellow the main navigation menu that was set with the theme.
The first menu has that plus button to show shildren. But the second one doesn't show the plus and test2 is a child of test.
This is my configuration :
Is it a class problem ? Is there a way to edit the second menu html and give it same class as first menu.

Related

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?

Appearance Menu - Add new items to the top of the menu

When adding a new new menu item on the appearance menu page (/wp-admin/nav-menus.php) is it possible that when you click the Add to Menu button that the new item would be added to the top of the menu rather than the bottom?
By default, the new menu item gets added to the bottom of the new menu.
Before Add to Menu
After Add to Menu - If possible
I can see in the Wordpress core file wp-includes/nav-menu.js there is functionality for adding the menu to either the top or the bottom but I can't see if there is a way to interact with this.

Change position to the default main menu of a theme

Maybe the question is silly, but I just start to look into Drupal and I cannot find any relatives information on the web.
I have installed a theme (corporate clean) that use a inline main navigation just after the logo and before the gallery.
I would like to change that menu position. Move the main menu on the left side.
But everytime I give to navigation or main menu block the 'navigation' position, I see a new block filled in with the same main menu links.
Instead I want the first link be relocated in the left side.
How could I do that?
(btw the theme has even a navigation block, but it cannot understand how it work exactly..)
thanks
The menu is usualy inserted in the page.tpl.php you can move it around in this file.
Alternatively you can go to admin/appearance/settings/yourTheme and turn off "Main menu" and "Secondary menu" and use the Menu block module to position menus where you want them.
Do you mean you want the main menu (that is initially in the "navigation" area, like horizontally) in a new column on the left side, like vertically?
If yes, just go in administration>structure>blocks and drag your "Main Menu" in "First Lateral Bar" area (under Content, in Coporate Clean theme). Save and check the result.
If not, do you want your Main menu just like it is now but aligned left instead of right? If yes, just play with CSS.

Wordpress navigation Menu issue

I'm having a problem with the second tier of my navigation showing up when I hover over the products button. You can see the problem here. http://www.americancarpgear.com
Any suggestions?
Change line 37 of index.js from:
$(this).find('ul').stop(false, true).fadeIn(200);
to:
$(this).find('ul:first').stop(false, true).fadeIn(200);
There are multiple ul's within the Product drop down, so all children are being shown on hover. Instead, you should only show the first child ul on hover.

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