I am new to Drupal. I am trying to make a website where the menu has child items. eg when I click on "Places" it should drop down a menu with child items like "INDIA","USA","CHINA" etc. For that I added a content(basic page) Places with menu link name "Places". Again added content "INDIA",menu linnk title "INDIA" with parent menu selected as "Places". If I am currently selecting "Places" it works preefectly fine. But if I am in Home or other menu item, selecting "Places" does not appear the drop down. I tried it in two/three themes( all free) , same problem.
Try using superfish menu. Since you are new to Drupal, I would advise you to search first on Drupal.org website for modules.
Related
On my Wordpress site I have the main primary menu set up with links to pages & top level categories. When I'm viewing a page the top menu highlights the proper menu item and all works just fine, but when I click on a post that falls under one of the category menu items it is not highlighted. I want the category menu item to highlight when I click on a post that uses that category. How would I accomplish that?
Website: http://deutschmetal.com If you click on this post: http://deutschmetal.com/deutsch-metal-videos/rammstein-herzeleid-videos/ you can see that the top menu link "Videos" is not highlighted. I would like it to be highlighted when viewing the post.
Wordpress detects it if a page is the child of a page in the navigation. It also adds a extra class to it, so you can create some new CSS to make it look the way you want. In your case this would be:
.current-post-parent.current-post-ancestor {
background: #cb0808;
}
You can add this in your Wordpress theme, or if you are not familiar with coding you can use the customizer's custom CSS that is supported is most of the themes.
I am buiding a site using WordPress (4.9.8) with SHOPISLE theme.
However I am facing a problem here, I have added one dropdown menu in my Primary menu. I noticed that the dropdown menu clicks are not working on mobile view.
2nd menu has a dropdown, when clicked on text "Categories" on mobile view, the menu closes. Right now I have made it non-clickable. Can it be made to open dropdown when clicked on Text "Categories"?
Working fine on Desktop.
Thanks,
Jitendra Sawant
The page I need help with: http://jitendravertex.byethost13.com/
The dropdown menu is opened when you click on the caret on the right. If you want this behaviour in the whole Categories link you should edit the menu template file in your child theme.
I would like to be able to create a navigation menu in WordPress in which the top-level nav items are not pages, but rather menu headings, which expand the sub menu when clicked.
The default WP menu behavior is that all menu items are links to content (pages, posts, etc), and that sub-items are viewed upon hover.
I'm looking for a way to make it work more like the menu behavior built into Twitter Bootstrap (and for the same usability reason).
I'm looking for a solution that either already exists as a plugin, or which I can build into a plugin, so that anyone can create a new menu like this in the WordPress menu editor.
checkout this tutorial :
https://digwp.com/2011/11/html-formatting-custom-menus/
If you dont want any custom html structure than you can simply add the classed to menu and for top level menu create a custom link with # as href.
I'm creating a wordpress template and I need to add some menu nav items.
Does Wordpress has a function that allows me add menu items after the theme install?
Humba, yes there is check this
Defining a Menu
You must define a menu before you can add items to it.
Step 1
Login to the WordPress Dashboard.
From the 'Appearance' menu on the left-hand side of the Dashboard, select the 'Menus' option to bring up the Menu Editor.
Enter a name for your new menu in the Menu Name box
Click the Create Menu button.
Step 2
Adding Items to a Menu
The Screen Options allow you to choose which items you can use to add to a menu. Certain items, like Posts are hidden by default.
Locate the pane entitled Pages.
Within this pane, select the View All link to bring up a list of all the currently published Pages on your site.
Select the Pages that you want to add by clicking the checkbox next to each Page's title.
Click the Add to Menu button located at the bottom of this pane to add your selection(s) to the menu that you created in the previous step.
Scroll back to the Menu Editor.
Click the Save Menu button.
Ok Humba there is a lot of material out there you can also check this link.
http://codex.wordpress.org/WordPress_Menu_User_Guide
i've a node type "Gallery" and a menu title "Gallery" which shows all the available galleries with the help of views.
Now, when the user creates a new gallery, i want the name(title) of that gallery to add as a child element to the "Gallery" menu item..
is there any module for that?
thankx..
Module Auto Menu. Here is an excerpt from its project page:
... automatically generates menu entries on node creation/edition. Parent menu item can be specified on a per content type basis.
This module acts when the menu section of a node is left empty only. So, users can still organize menus manually. Moreover, default setting for content types is to not create menu items automatically.