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.
Related
I have created my wordpress website. It is using suarez theme.Menu is working in desktop but not working in mobile view.When click menu icon menu is not open
Here is my site: https://jaxonlabs.com/
From what I can see, you have two menus probably, one for desktop, another for mobile.
the mobile menu apparently hidden by default, and when displayed on mobile, the mobile menu shows up and the desktop menu gets hidden.
check in your admin panel for mobile menu in Appearance->Menus and fill it with the pages,links, and categories you want, and save it.
The reason seems to be that the mobile menu is empty with nothing in it:
<div id="cshero-main-menu-mobile" class="navbar-collapse cshero-mmenu collapse in"></div>
If you add <ul> and insert some dummy <li> items using Inspector, the menu shows up.
My guess is that the mobile menu code uses wp_nav_menu() function with menu parameter that does not exist, so it renders nothing. Try to locate it in the theme and compare the parameters if they match the menu you added in Appearance > Menus.
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 am a total beginner on the platform wordpress ... bought a theme, installed it, everything right, the menus appeared. But I would like to include a submenu, the parent menus in a theme and create a page to add.
How do I do that?
I'm lost.
Ok, so on your dashboard you see the main menu down the left hand side. The editor for menus is under Appearance -> Menus.
In there you should be able to easily structure your menus and sub-menus with a simple drag and drop editor, as long as your theme supports editable menus and sub-menus.
As for creating pages, you do that by going to Pages -> Add New. Once you have created a page it should show up in the menu editor to be added.
Hope that helps.
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.
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