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

Questions tagged [navigation]

Denotes questions related to navigation in Magento.

0
votes
1answer
36 views

Magento 2 - Add subcategories images in Top Navigation Menu

I want to add subcategories images in Top Navigation Menu, I found this module but display only parents categories, I need to be on subcategories. I want to be like this:
0
votes
0answers
10 views

Layered navigation custom filter products count

I've problem with products count in filters in layered navgiation. I've made filter for special price products, and it's works ok, products list is filtered. In filter applyToCollection I have $...
0
votes
0answers
14 views

Magento2 make logo inline with navigation

To make the logo and nav sections inline is it better to move the logo into the nav or the nav into the header?
0
votes
1answer
32 views

Changing size of font in top navigation

On my site www.uitverkoop.tips you see a top navigation and side bar navigation. I want to have more categories, but then the top navigation uses to lines. So I want to reduce the size so that more ...
0
votes
0answers
14 views

Merge Account tab with Menu tab in mobile menu

New to Magento. I am trying to merge the content of the two default tabs on mobile view into one tab. Is it possible to add store.links (Account) as a link in the store.menu (Menu) much like the ...
2
votes
1answer
73 views

Magento 2 Remove link from left navigation in my account Section

I have removed some link from left navigation in My account section and its removed successfully but getting space between links after removing the links. I have used below code to remove unusual ...
1
vote
1answer
12 views

Adding a nav item via XML puts it in the UL but not the correct css classes. How can I add css in my xml?

<block class="Magento\Framework\View\Element\Html\Link\Current" name="nav.sitehome"> <arguments> <argument name="label" xsi:type="string">Link Name</argument> <argument ...
0
votes
0answers
12 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
108 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
56 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
99 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 > ...
4
votes
0answers
36 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
80 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
111 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
175 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
88 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
37 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
191 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
80 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
30 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
35 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
54 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
25 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
1answer
235 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
30 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
37 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
87 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
149 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
128 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
168 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
37 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
1k 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
24 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
236 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
57 views

How can i get rid of this?

I can't erase the Categry name because it is required by magento!
1
vote
1answer
24 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
55 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
297 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
508 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
19 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
23 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
123 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
630 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
59 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 ...