Questions tagged [navigation]

Denotes questions related to navigation in Magento.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

Move navigations into header part and do not disturb the responsive mobile screen

My original theme screen is like this But I want in this way But due to these changes, my responsive view gets distorted like this. I wrote this line of code in the default.xml file <move element=&...
user avatar
0 votes
1 answer
54 views

Magento 2.4.3 not showing mega menu

Magento 2.4.3 is not showing the Mega Menu navigation. If I inspect the page, I get a "esi:include" tag instead of the menu. I have been following the extension guide here https://...
user avatar
  • 1,427
0 votes
0 answers
42 views

Magento 2 Category pages doesn't show page navigation (bottom nav)

I'm using Magento 2.4.3, and everything seems to work fine but the page navigation on the category pages, the one at the bottom. On the categories with more than 12 products, the number of products ...
user avatar
  • 1,427
0 votes
1 answer
19 views

Magento 2.4.3 User account Menu options

I have I have Magento 2.4.3 with Claue 2 theme installed on it, dont see any file in theme directory which is defining the links provided under User account menu dropdown as given in screenshot here ...
user avatar
0 votes
1 answer
41 views

missing AdapterFactory Error during sub menu open

I have facing this issue during sub menu navigation part open ,rest all website work fine. Current version :.4.2 ,apache 7.4 . you can check online, the link is https://primalsupplements.co.nz/...
user avatar
0 votes
1 answer
69 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 $...
user avatar
  • 828
0 votes
0 answers
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 ...
user avatar
1 vote
0 answers
49 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....
user avatar
  • 156
0 votes
2 answers
475 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 ...
user avatar
  • 781
0 votes
1 answer
131 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 ...
user avatar
  • 87
0 votes
1 answer
703 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 ...
user avatar
0 votes
1 answer
134 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 ...
user avatar
  • 1
0 votes
3 answers
1k 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'...
user avatar
  • 4,613
0 votes
1 answer
90 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 ...
user avatar
0 votes
0 answers
47 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 ...
user avatar
  • 480
0 votes
0 answers
23 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 ...
user avatar
1 vote
1 answer
2k 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....
user avatar
0 votes
1 answer
163 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 ...
user avatar
  • 43
0 votes
0 answers
190 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 ...
user avatar
0 votes
1 answer
133 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 ...
user avatar
0 votes
2 answers
250 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?
user avatar
1 vote
0 answers
25 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', '...
user avatar
  • 25
1 vote
0 answers
56 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....
user avatar
0 votes
2 answers
468 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....
user avatar
  • 11
1 vote
0 answers
47 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 ...
user avatar
  • 121
1 vote
2 answers
859 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: ...
user avatar
0 votes
1 answer
279 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. ...
user avatar
0 votes
0 answers
63 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 ?
user avatar
  • 700
0 votes
2 answers
436 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
user avatar
  • 895
1 vote
1 answer
549 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"?> <!-- /** * ...
user avatar
0 votes
1 answer
52 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.
user avatar
2 votes
1 answer
286 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!
user avatar
  • 255
1 vote
0 answers
84 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 ...
user avatar
  • 153
1 vote
1 answer
28 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/...
user avatar
2 votes
0 answers
456 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 ...
user avatar
  • 125
2 votes
0 answers
27 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 ...
user avatar
0 votes
2 answers
774 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'.
user avatar
  • 704
0 votes
1 answer
284 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:
user avatar
  • 2,066
0 votes
1 answer
819 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 ...
user avatar
0 votes
1 answer
608 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
  • 2,727
1 vote
1 answer
23 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 ...
user avatar
4 votes
2 answers
882 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 ...
user avatar
  • 109
1 vote
1 answer
463 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 ...
user avatar
0 votes
1 answer
2k 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 > ...
user avatar
5 votes
0 answers
170 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 >...
user avatar
1 vote
0 answers
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 > ...
user avatar
4 votes
1 answer
2k 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 ...
user avatar
  • 45
0 votes
1 answer
161 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 ...
user avatar
2 votes
2 answers
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 ...
user avatar
  • 97

1
2 3 4 5
7