Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Denotes questions related to navigation in Magento.

0
votes
0answers
6 views

Prevent menu dropdown from closing when entering

In magento 2 I have a Megamenu where I built a newsletter subscribe section. Its basically just a category with an extra attribute, calling a different part of html for the dropdown. This html ...
4
votes
2answers
84 views

how to call navigation bar in magento 2.2.6

How to call navigation main menu in magento2.2? please let me know. I follow this code for our custom header in default.xml file. <referenceContainer name="header.container"> <block ...
1
vote
1answer
50 views

Categories not displaying in responsive side menu

I'm making a custom navbar, and I've moved the 'catalog.topnav' block into my custom navigation. The problem is, is that some of the sections and categories on the responsive side menu are not ...
0
votes
1answer
27 views

Add Category to breadcrumbs Magento 2

I wanted to add a static text with a link in front of my category page and product page breadcrumbs. Existing Breadcrumbs Home > Category > Sub Category > Sub Category How I want it to be Home > ...
0
votes
0answers
25 views

how to create mobile navigation menu in a desktop website?

I just want to create a mobile navigation menu in a desktop website, please suggest me code for that layout so that I can design a mobile type navigation menu in a website upon which whenever user ...
3
votes
0answers
33 views

Magento 2 icon font position problem (navigation menu)

I am trying to put some icons in my navigation menu, I want them to be on top of the subcategory name but this is what I have untill now: This is my code for the first item, I have it in >Magento ...
1
vote
0answers
8 views

Omit inner category URLs from url path

I have a magento 2.1.10 setup running.. Recently made a bulk of change in the categories navigations. The currently structure is somewhat like below All > Pillows > Shop All Pillows > ...
4
votes
1answer
51 views

Magento 2 CE : Add child navigation items to navigation menu

We have added some custom navigation items to the navigation using default.xml and is working just fine, but for the life of me I can't figure out how to add child items to these parent navigation ...
0
votes
1answer
42 views

Customize and display navigation on the top right of header

I'm working with Magento 2.2.5 i want to move navigation menu to the top right of header. also i want to know which file i can edit to customize navigation menu Thanks. UPDATE : I want my headr to ...
2
votes
2answers
91 views

How to add custom menu in top nav section in magento 2.2.5

I'm trying to add custom menu in top nav section or place any custom menu removing the existing one. How to customise this section. Please tell me step by step. I'm unable to do this after the ...
2
votes
1answer
50 views

How can we remove an attribute from the xml block in layout file in magento2?

I need to remove the ttl attribute value from catalog.topnav block in default.xml file. I have overrided the file in custom path as follows: Magento_Theme/layout/default.xml <referenceBlock ...
0
votes
0answers
26 views

Is there a way to add a section of the main nav in the sidebar?

We have a category "products" in our main nav and under this category is a dropdown menu. We would like to only add the dropdown part of the "products" category from the main nav in the sidebar. Is ...
1
vote
1answer
26 views

magento2 adding tab with content to offcanvas

I have been trying to create an additional tab in navigation.sections and insert inside languages, and my own account (complete with a menu), login, logout that I have created outside header.links, ...
1
vote
2answers
138 views

Topmenu Nav not Rendering

Does anyone have advice on how to debug why the main navigation wouldn't be rendering on my site? It's definitely caused by my custom module (which extends Nav's Topmenu.php), but everything's working ...
0
votes
0answers
12 views

Top Navigation Menu is disappearing when I disabled a sub-category

Anyone encounter this issue with Magento 2.1.7 version? Basically, when I'm trying to disable some unused sub-categories, suddenly, the whole top navigation menu will disappear in front-end and will ...
1
vote
1answer
54 views

Magento 2 Add Custom Dynamic Link in Customer Navigation

I can't figure it out how to add links dynamically to customer navigation. this is my xml: <referenceBlock name="customer_account_navigation"> <block class="Vendor\Module\Block\Custom\...
3
votes
0answers
28 views

Magento2 - Remove/edit classes from navigation

i have set up a new magento2 store and i added some jqery-ui items ( accordion and tabs) and for them to work, i included the jquery.css in my _extend.less inside my custom theme. Unfortunately now ...
0
votes
0answers
27 views

Magento 2 - Navigation Menu Not Displaying

I'm having trouble getting my navigation menu to appear. I'm fairly new to Magento 2 but have used several similar software suites in the past. I'm currently working through a Magento 2 course but ...
0
votes
0answers
29 views

Magento 2 : How to only show subcategories of a specific category in top menu?

How can i make the top navigation menu just like the following website?
0
votes
0answers
18 views

Magento2: Navigation sections list display level in home page

I have moved the top navigation menu into right sidebar like follows and it worked. <move element="navigation.sections" destination="div.sidebar.main"/> But the listing of the categories are ...
0
votes
0answers
129 views

Magento 2 open navigation menu on click on desktop

By default on mouseenter event menu get open but I would like to change the event to click so for that I've override following file lib/web/mage/menu.js and made the following change for ...
1
vote
0answers
21 views

Category Navigation suddenly disappeared

Sorry in advance I'm not very familiar with Magento. I am working on a Magento Web Shop and one day the top navigation, where you can open the categories, just disappeared. I tried searching in the ...
0
votes
1answer
31 views

Magento 2.2.4 : Customer nav account

I have created some links that i have added to my customer account nav. But there's some problem : My links aren't order one under each other The class current is only active on "Mon cadencier" ...
0
votes
0answers
55 views

Navigation is not showing on home page and some category pages in magento2

On the home page and some category page menu is not showing. If we go to the product detail page then it appears. I checked some links and disabled fastly CDN as suggested but still no luck. ...
2
votes
3answers
111 views

Show sibling child categories in left.phtml navigation in Magento 1.9

In the standard left navigation catalog/navigation/left.phtml of Magento 1.9 when entering a child category, with no children of its own, the navigation area is left blank. For these childless ...
0
votes
1answer
65 views

Magento2 - how to show custom menu in top menu?

I need to show only first level categories and their products on top menu to replace Magento's default top menu. For example categories and products should display like: Tshirts    Polo ...
0
votes
0answers
116 views

Magento 2 Fotorama - Move gallery thumbnail navigation

I need to move the thumbnail navigation (.fotorama__nav-wrap) that is below fotorama stage (.fotorama__stage) to the product info section to have something like this :
0
votes
0answers
30 views

Change Navigation Menu text color individually

Let's say my navigation menu are categories in fact. NEW ARRIVALS, SALE, SHOP BY XX I want to change the SALE menu into RED color and maybe bold. So it stands out. How Can I do this? <li class="...
3
votes
2answers
733 views

Magento 2 How to add Home link in navigation bar!

How can i link my home page in the navigation bar(Home) button?
0
votes
1answer
23 views

New Category-Not appearing in Nav bar

I have followed all the steps in creating a new category. I made the sub-cat, rewrote the URL. But when I save and reload my website the new tab doesn't appear. Do I need to do something else in ...
1
vote
1answer
185 views

How to find the block to override for the navigation menu magento 2

current setup: Magento 2.2.4 installed with composer. I want to replace the navigation menu with a different navigation menu (MCP Menu Creator Pro). I think I am supposed to extend the magento/...
0
votes
5answers
56 views

How can i get rid of this?

I can't erase the Categry name because it is required by magento!
1
vote
1answer
23 views

My navigation bar is gone!

My navigation bar is gone there must be a navigation bar like in the bottom picture. Help! TT
0
votes
1answer
22 views

Sign in link removed after moving search inside navigation container

I am moving search inside the navigation container using this code: <move element="top.search" destination="catalog.topnav" before="-"/> a in the default.xml file, but when I moving search ...
0
votes
0answers
44 views

Catalog navigation menu is not display after upgrading to magento 2.2.4

I upgraded the magento 2.1.6 to 2.2.4 successfully. but now there catalog navigation is missing on front end side. can any one have idea what is the issue ?
0
votes
0answers
17 views

How i add nav bar in my magento 2.1 home page

all I am new to Magento. I have removed my Magento header and footer link and add new nav bar on my home page but this is not showing.
0
votes
1answer
195 views

add CMS page link category menu in Magento 2

How to add cms page link category navigation menu Like Example Like Home | About Us | Contact Us | Our Products Please check screenshot
0
votes
0answers
22 views

Magento 2: Adding Products to Top Navigation

We have a client who wishes for the top navigation bar to show the products that each toplevel category contains as the child menu items. I've done a lot of Googling but haven't been able to find ...
0
votes
2answers
351 views

Make mobile menu appear sooner on Magento 2

The mobile menu appears at 768px and I want to change that to a custom value. I've read on here to do the following: The JS for the menu that has that functionality can be found in lib/web/mage/...
0
votes
0answers
18 views

Unit / functional test to check if a menu item exists

I created a module by following the instructions at http://devdocs.magento.com/guides/v2.2/ext-best-practices/extension-coding/example-module-adminpage.html. Now, I would like to make a simple PHPUnit ...
0
votes
0answers
19 views

Changing Navigation Colours - Magento 2

How can I change the colours of the navigation bar? I have had some success with it using the _less variables but I can't get the first category 'Beds' to apply the style. Watch this video to see ...
0
votes
2answers
113 views

Topmenu add extra elements

I am trying to add the category description in the main navigation dropdown for the level 1 child and for level 2 I want to display as a list the product names, so far, I have made a plugin Vendor\...
1
vote
1answer
487 views

Magento-2 Mobile menu setup

Yesterday, I was having an issue with horizontal top menu as I wanted to make them invisible on frontend. I made it invisible by using css as: body.cms-my-homepage div.main-menu.menu-style-2{display:...
0
votes
1answer
52 views

Magento -2 homepage top navigation

I am messing with this problem for two days, i want my horizontal menu to appear on all pages except the homepage. my homepage shows both vertical and horizontal menu, however, i just want vertical ...
0
votes
0answers
61 views

merge mobile tabs into one in mobile menu - magento 2

I am trying to merge the content of default two tabs on mobile view into one tab. It is possible to add a custom tab to mobile menu and I did it by editing the Magneto_theme/layout/default.xml &...
2
votes
3answers
2k views

Change Customer Account Sidebar Menu Navigation Title

I want to change magento 2 customer navigation sidebar menu title. for example: Account information turns into My Profile What I've done so far: customer_account.xml <?xml version="1.0"?> &...
2
votes
2answers
879 views

Magento 2 - add link with content to top menu

I am wondering how to add programmatically a new link (to main top menu in header) with submenu (custom content visible on hover - styles is not a problem). How to achieve that, via xml or via (php) ...
1
vote
2answers
184 views

Customer account navigation link | Where to find referenceBlock names

I want to remove some links in the customer account side navigation section on my Magento ver. 2.1.8 store. So, I have created a path in my custom theme: app/design/frontend/[Namespace]/[Theme]/...
0
votes
1answer
505 views

Magento 2.2.2 - Move custom navigation into header-wrapper in XML and make it responsive

Below xml adds custom navigation before category. To make it responsive I have included it under block navigation.sections. <referenceBlock name="navigation.sections"> <...
3
votes
2answers
333 views

Magento 2 - How to remove main navigation from XML

We want to remove Magento's default main navigation using xml file but don't want to use remove, because ifconfig not working with remove. We want to remove main navigation only when our custom ...