All Questions
Tagged with topmenu category-tree
6 questions
0
votes
2
answers
569
views
How to show all categories under the static text in frontend Menu in MAgento2
How to display all categories under the static text in frontend Menu in Magento2
Example: We have 3 categories created in admin and displaying like below in frontend
Menu 1 Menu 2 Menu 3
We need to ...
1
vote
0
answers
455
views
Sort Menu items in aphabetical order magento 2 in observer
I am creating menu items in magento 2. I is working fine and generated according to category order in admin dashboard.
But I wanted to sort the menu items alphabetically on store front ir-respective ...
0
votes
1
answer
598
views
How to customise category top menu navigation by custom category id in Magento 2?
By default Magento 2 showing the all store categories in top menu with a tree structure, I want to filter with custom category ids and only that filtered category need to show in category top menu ...
2
votes
1
answer
2k
views
How to create the magento2 Mega drop down menu?
Creating mega drop down menu on magento2, able to get the data from the database product categories and subcategories
3
votes
1
answer
3k
views
Add custom css class to each item in Topmenu - Magento 2
I'm looking for a way to add a custom css class to each menu item into the Topmenu.
I already tried to it using interceptor method in Topmenu
public function beforeGetHtml(
\Magento\Theme\Block\...
4
votes
1
answer
9k
views
Magento 2 : How to display the category image in the topmenu
How to display the category image in the topmenu?
I need to edit/overwrite the block file, but I can't get the code to actually extract the image.