We changed our privacy policy. Read more.

Questions tagged [navigation]

Denotes questions related to navigation in Magento.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Magento 2 filter category by id in category tree

I'm overriding this default block file and need to filter the category by id. Magento\Theme\Block\Html\Topmenu how to addFieldToFilter to this children protected function _getHtml( Node $...
0
votes
0answers
12 views

I need to change the links when the user is approved by megaplaza affiliate

I need to change the links when the user is approved by megaplaza affiliate, so when the user login in and his/her account is approved to be an affiliate account I want to change the pages links in ...
0
votes
0answers
15 views

Blank-Theme Customize: How duplicate and customize Toggle-nav action

I just create a new theme based on theme_frontend_blank and i now would customize navigation menu on mobile device. I would create this kind of scenario: I had create Account right icon modifing ./...
1
vote
0answers
22 views

Magento Category Navigation - Customising Topmenu.php, adding columns using "$colBrakes" + "shouldAddNewColumn"?

I am successfully customising the magento 2 navigation by extending 'vendor/magento/module-theme/Block/Html/Topmenu.php' (and also 'vendor/magento/module-theme/view/frontend/templates/html/topmenu....
0
votes
2answers
191 views

Magento2 Get Customer Group ID in topmenu.phtml

I am needing to show a totally different navigation bar links if a customer is logged in as a wholesaler customer group. I am using Magento2.3 and a child theme of Luma. What I did was edit the ...
0
votes
0answers
15 views

I need to show the layered navigation according to the Category in magento 2.3.5

I need to show the filters according to the categories. Categories: Tyre Tube Filters: Brand Thickness Size Model Vehicle Need to show the filter according to category Tyre: Brand, Model, Vehicle....
0
votes
0answers
53 views

Make parent category clickable in mobile device Magento 2

We have two level categories created on the magento 2 site, Once mouse hover on Parent category a sub category shows up, and when click on parent category its redirected to that category page in ...
0
votes
0answers
48 views

Get attribute admin values layered navigation filter - Magento 2.3

I need to change this code to get attribute Admin value not store view value, any advice about this, please. or how to set a store view in this code to be able to list the admin value and skipping the ...
0
votes
0answers
46 views

Magento 2 dropdown navigation sub level unreachable

The Problem When building a new theme using the Blank magento 2 theme as the parent, our dropdown navigation is not working as intended. Below is a picture of the current result. As you can see we ...
0
votes
1answer
69 views

How do I override a value from a magento 2 lib LESS mixin?

I have created my own theme using Blank Theme as it's base. In my theme, I have a file in web/css/source/_navigation.less As I understand, this file calls a mixin. .lib-main-navigation();which pulls ...
0
votes
1answer
311 views

where to change responsive media breakpoint 767px in magento 2

I am working on responsive navigation menu in magento 2.4 version. When I set width 768px in a browser it changes layout to desktop view. So I wanna keep this responsive menu design till 1024px which ...
0
votes
1answer
79 views

How to resize the font size in sidebar navigation menu for Magento 2.3.4 (Luma theme)

I am doing a migration from 1.9.3 to magento 2.3.4 and i somehow managed to move the top navigation menu to the sidebar with a mod that was posted on this site for magento 2.3.4 However each menu line ...
0
votes
3answers
996 views

Cannot read property 'bind' from copy of mage/menu.js

I am trying to create a custom menu in Magento 2, but I run into the following browser console error when I add the JavaScript file for it. main.js:27 Uncaught TypeError: Cannot read property 'bind'...
0
votes
1answer
63 views

Top Nav menu not showing after vanrish cache flush

For a long time I've been having an issue with the top navigation bar in Magento 2.3 not showing the first time a page is requested after varnish cache is cleared. On subsequent requests of the same ...
0
votes
0answers
43 views

Customer account navigation link removal is not working

I want to remove some of the navigation links in my account page so I have put the below code at the path: app/design/frontend/vendor/theme/Magento_Customer/layout/customer_account.xml <?xml ...
0
votes
0answers
20 views

Products showing up in layered navigation after saving them again from admin panel

This is Very weird problem i am into right now, Its a clothing store where i have uploaded 50 products for an example and they are successfully visible in both front and back end. Now if i apply ...
1
vote
1answer
1k views

Add custom menu links only to mobile menu layout

I am using Magento 2.2.2 and I am trying to add some custom menu links to magento in the mobile menu layout. I tried adding a custom block with menu links by referring catalog.topnav block default....
0
votes
1answer
126 views

Magento 1.9 How can I hide or exclude in the Navigation Menu category under sub-sub-sub category items

My project running Magento version Magento1.9.3.2.I have a menu drop down more category show that main reason hide or remove some item under the category. This facility Magento admin panel through ...
0
votes
0answers
117 views

How to re-order My Account navigation links

My question might be possibly duplicate of Magento 2 - How to rearrange Customer "My Account" links but I really have no idea why my code is not working as expected My current links order ...
0
votes
1answer
83 views

Mobile header and menu not working

I've made a custom header and add some custom blocks there but now the mobile header and toggle navigation does not appear at the breakpoints, only my desktop header. Have i overridden it by ...
0
votes
2answers
126 views

Add a custom navbar menu

I am trying to add a custom link(contact us) in navbar menu and wanted to add the contact us page link. how to add that?
1
vote
0answers
24 views

Product attributes in navigation and in product tab

Sorry for the vague title. I will try and explain what I am looking for. I am designing a site for a garden nursery and have set up a product attribute group containing things such as 'Plant height', '...
1
vote
0answers
48 views

How to get navbar after logo?

I am using Porto theme, In Porto the navbar is after the header block. Now, I want the navbar after the logo. How can I do that, here is the default.xml <referenceContainer name="head....
0
votes
2answers
375 views

Magento 2.3 static Block to replace subcategories in navigation

I am attempting to add a block in place of the subcategory in the main navigation or site navigation. I don't want to use a bloated extension, just minimal code. I am using a blank custom theme I made....
1
vote
0answers
37 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 ...
1
vote
2answers
535 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
221 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
58 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
2answers
367 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
484 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
1answer
34 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
230 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!
1
vote
0answers
52 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
22 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
409 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
23 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
2answers
703 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
249 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
1answer
723 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
438 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
967 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
19 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
731 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
383 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
1k views

How to add a category to the breadcrumbs?

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
133 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
1k 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
155 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
2k 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 ...

1
2 3 4 5
7