how can i style primary menu as a dropdown menu is drupal?
It would take forever to "Style" it, however there are tons of modules that allow it: Nice menus for one...
Here's a useful link on the subject without using a module like Nice menus:
http://drupal.org/node/190263
Also, make sure under site building > menus > primary links (or whatever menu you're using) you have the "expanded" option checked under the items you want to drop down.
Related
I just started to work with drupal, I'm trying to create a drop down submenu from the main menu, however it doesn't show up. Not because I misconfigured something (I think).
Can anybody tell me why this is the case?
I'm using the Bootstrap theme, i also tried others.
I have checked "Show as expanded" for parent menu item in main menu also.
Thanks,
Hi This can be done using nice menu irrespective of the theme used.
The nice menu module by default creates some blocks in Drupal. You just have to edit the block called nice menu 1 & configure it & display in a specific region of the theme.
I didn't use Bootstrap, and is very hard give you an answer without see what you have in your site, but maybe Nice Menus can be your solution.
The problem
The default navigation menu for WordPress consists of links to parent pages and a sub-menu that drops down for the respective child pages. It's been pointed out to me that it's not obvious that the primary (parent) links are selectable i.e. when the drop down child page links appear the user apparently might disregard the primary link to the corresponding parent page.
An example
Have a peek at the main navigation menu on this website:
http://www.directsponsor.org/forums/
My question
In my mind, the default WordPress navigation menu set-up is semantic, intuitive and best practice. To the non-technically inclined mind, is the menu intuitive enough? i.e. will all users observe the parent link or do I need to reprogram the menu?
Potential solutions
It's been suggested to me that I reiterate the parent links in the drop down menu. This seems like terribly bad practice and breaks the overall semantics of the menu. It's my opinion that the selectivity of the parent page links are already implied by the hover state.
Using CSS to more obviously imply the selectivity of the parent page links.
Reprogram the menu altogether.
Check 'Menu Manager' Plugin in WP which provides features of dynamic menu creation.
I only want to show the pages that do not have parents, and link the other pages from their parent pages.
I want to have a simple main menu: Home | Pages | About | Contact
About 8 pages are linked from the Pages page. At the moment, the menu has 12 items, which deforms the layout pretty badly.
I have tried making the pages private, unpublished, and other options, but that doesn't seem to be the way to do it. Is there a way I can just have only parent pages linked in the main menu?
You can edit the menu (under the appearance tab in the dashboard). (you may need to add a new menu and assign it to the main navigation menu. It sounds like you have the defaulted menu set-up.
Once you've added a menu and assigned it to the main navigation, you can uncheck "automatically add top-level elements" or its equivalent, and add/remove menu items. You can also change their hierarchy (independent of actual page hierarchy).
It's all so easy these days. Just Go to appearance>menus>click the little triangle next to the listed page name>click remove> don't forget to save ... all done!
Maybe you didn't set up a custom menu yet. Set up a custom menu first with the desired pages / links. If it doesn't show on your site, check custom memus are enabled in your theme.. this will help you setting up a custom menu: http://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/
I need to develop a kinda Sitemap on the bottom of my website, with all menu items and I was wondering if I can do it with Views.
I actually need to display each main menu item on a different column and add the submenu items to each column.
I realized anyway that Views has not access to Menu items, but only to nodes, or am I wrong ?
thanks
I don't believe you can do this with views. It sounds like you just need to have the top level menu "expanded" in menu configuration and style accordingly. For creating something trickier, that involves multiple levels, check out the menu block module (http://drupal.org/project/menu_block).
I have my Drupal site here so far: selkirk.treethink.net
Each Primary Link at the top has a bunch of other primary links under it (sub links)
I need to display these sub links when you hover over the parent primary link in a dropdown menu.
Everything is in the primary links but there are parents (what you see at the top of the demo) and sub links (what should be in the dropdown). I'm not sure if I set up these menus wrong though...Drupal is a little awkward for me.
I did download this module but I am not sure how to get it going to automatically dropdown a primary link's submenu items when rolled over: http://drupal.org/project/jquery_dropdown
Thanks,
Wade
The dropdown module you installed is to transform a "<select>" dropdown element into a jQuery dropdown and is not exactly for menu/navigation purpose that you want.
You might want to check the Nice Menus module.