cancel
Showing results for 
Search instead for 
Did you mean: 

Location of the LUMA categories menu

Location of the LUMA categories menu

Hi,

 

I'd like to edit the file generating the categories menu of LUMA. does anyone know the location of the phtml file or the categories?

categories.JPG

 

 

 

 

2 REPLIES 2

Re: Location of the LUMA categories menu

Hello @robertbits

 

module-theme\view\frontend\templates\html\topmenu.phtml

 

mostly content coming from block file.

 

If it will help you then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Location of the LUMA categories menu

By Default Category top menu coming from Vendor Theme module.

Path is 

vendor\magento\module-theme\view\frontend\templates\html\topmenu.phtml

But They will generate dynamically from Topmenu.php Block file,

Location of php file path wil be,

Magento\Theme\Block\Html\Topmenu.php

 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial