The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [navigation]

Denotes questions related to navigation in Magento.

Filter by
Sorted by
Tagged with
1
vote
0answers
28 views

Layered navigation and categories filter

I'm using multiple layered navigation filter (https://github.com/SlavaYurthev/MultipleLayeredNavigation-M2) is allows to select multiple categories at once. But categories filter is not working, I ...
0
votes
0answers
10 views

Design a header with logo, nav-links and cart in one line

I want to design a header by extending the Luma theme. I have attached pic on how I want the header design. Can someone please help me with this? Am new to Magento and still learning things. I am ...
0
votes
0answers
7 views

Is there a simple way to create a button to bring up mobile nav and set nav to the search tab?

when the site is viewed on mobile we want to add a search button to the header that would just open the search section of the nav page directly. The existing nav button would still open the default ...
0
votes
0answers
33 views

Magento 2 : Missing Account Links in mobile view

I am not getting how the contents of my account links are not displaying when viewed as mobile format. You can see in the image there is no links under account tab. Here is my overridden default.xml: ...
0
votes
1answer
43 views

Out of stock products and count not displaying in layered navigation

We have 1 out of stock product and 78 in stock products. But in layered navigation I am getting In stock(79) which is wrong. I have set "Display out of stock product to YES" in admin configuration. ...
0
votes
0answers
24 views

Compare() link to be placed in dropdown menu in magento 2.3

I want to place the Compare link inside the dropdown below Wishlist in header links as shown here OR https://prnt.sc/os1u0o. Can any one tell me how to do that ?
0
votes
0answers
21 views

Add to the Settings tab on the mobile navigation in Magento 2.3.2

How would I add a link to the settings tab on the mobile navigation? I have tried the following in my default.xml and flushed the cache but it did not work <?xml version="1.0"?> <!-- /** * ...
0
votes
2answers
25 views

Magento 1.9 : How to add custom link in account sidebar

How to add custom link in account sidebar magento 1.x, i can't find it in google, all is for magento 2. please help me a example
1
vote
1answer
63 views

Magento 2: Page Title not working for wishlist_index_index.xml

here am trying to add page title for wish list in sidebar navigation, but page title is not showing up. here is my wishlist_index_index.xml overrided file. <?xml version="1.0"?> <!-- /** * ...
0
votes
0answers
56 views

Magento 1.9 - Super Slow Top navigation, rest is pretty fast

Our Magento 1.9 shop has 91 categories with a deepness of 3 levels. It has roughly 9k products. Our underlying machine is fast enough to handle all this and on another shop with less categories, we ...
0
votes
1answer
22 views

How can I add brands and flavors in navigation menu with categories?

I want to show categories of items also want to show the brands and flavors of item according to the parent it has.
2
votes
1answer
51 views

Magento2: Add a custom image and link below account navigation in account dashboard

below the account navigation is there an easy way for a newbie to add an image pointing to a page in the magento2? This account navigation appears on the side of my account dashboard. thanks!
0
votes
0answers
15 views

Magento2: How to edit customer links (navigation) [duplicate]

I am trying to find a file that is responsible for links in the client's panel. https://prnt.sc/o2nbni Some links I want to delete/hide from navigation and I wanted to add some of the other elements. ...
0
votes
0answers
16 views

M2 - Get all categories from cross sell products

I have a specific thing that I want to make because I can't find a extension that comes close to what i need. On this page: https://www.bhphotovideo.com/c/product/1318277-REG/canon_eos_rebel_t7i_dslr....
1
vote
0answers
37 views

How to Dropdown navmenu on hover

I just add a new line of html code to navbar... now the navbar is not open on hover, i do have to click on the nav and to close, i have to click it agan. But what i want , is that the nav open it by ...
1
vote
1answer
21 views

Magento 2.1 Admin panel isn't loading properly

It shows error we deploy command: Compilation from source: adminhtml/Magento/backend/en_US/css/styles.less Unable to get content for adminhtml/Magento/backend/en_US/Magento_ConfigurableProduct/css/...
2
votes
0answers
175 views

Magento 2.2 Layered Navigation Category Page issue

Thank you for taking time to read this: We have customised our theme to show Category images on Category Pages – and also Category Banners. All this is controlled form the Category Settings from ...
2
votes
0answers
21 views

Magento 2 : Which event will trigger when a Navbar Item is clicked?

I've done some searching around and i'm trying to find the observed event for when a particular navbar item is clicked. The goal is to run some code for whenever that navbar item is selected but I do ...
0
votes
0answers
22 views

Exclude Swatch Image from Product Images when creating gallery

I'm trying to find out how to have a swatch image assigned to a product, but ONLY used for the swatch, right now, it also shows up as one of the product's images, and I was hoping there was a way to ...
0
votes
0answers
21 views

Navigation Bar Dropdown Issue

I've currently made me Magento site (v1.9) on to a live site and after this being uploaded I now have an issue of my categories in my nav bar are constantly dropped down (they don't go up or down, ...
0
votes
1answer
247 views

Magento 2, Change On click instead of 'hover' for menu

In Magento 2 for the main menu, they dropdown with hover. How to change the dropdown on click instead of 'hover'.
0
votes
1answer
74 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
49 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
16 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
286 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
1answer
60 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
369 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
16 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 ...
4
votes
2answers
220 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
164 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
502 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 > ...
5
votes
0answers
44 views

Magento 2 icon font position problem (navigation menu)

Magento2 - 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 until now: This is my code for the first item, I have it in >...
1
vote
0answers
9 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
496 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
139 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
648 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
481 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 ...
1
vote
1answer
174 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
581 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 ...
1
vote
1answer
214 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\...
4
votes
0answers
53 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 was included the jquery.css in my _extend.less inside my custom theme. Unfortunately ...
1
vote
2answers
847 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
45 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
67 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
125 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
297 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
290 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 ...
4
votes
3answers
3k 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
25 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
493 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/...