cancel
Showing results for 
Search instead for 
Did you mean: 

Topmenu customize

Topmenu customize

Hello everyone! I am very new to Magento. I installed Magento 2(2.3) and i have a problem. I don't know how to customize topmenu.phtml. My project component look like this: New-Picture.jpg

https://pasteboard.co/JCrOLHf.jpg 

I created a lots of css and less files but nothing work. For example i want to change the background color of all menu, the background color of the first element, put it on center of the page and change the width of the submenus. Can anyone tell me if there is a specific name for the css/less file and a specific folder where to put it? I saw the class for the first link from menu is nav-1 for the whole navigation is navigation but i still cannot modify them. Thank you!

1 REPLY 1

Re: Topmenu customize

Hello @andreiandr83b6 

 

Take help from here :

https://magento.stackexchange.com/questions/265620/how-to-override-top-menu-css-in-magento-2

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy