Skip to main content
19 events
when toggle format what by license comment
Mar 12, 2019 at 11:46 comment added Harsh Jayswal Let us continue this discussion in chat.
Mar 12, 2019 at 11:45 comment added Harsh Jayswal in which file should i add this css ?
Mar 12, 2019 at 11:43 comment added Waqar .navigation{width:300px;} .navigation .level0 { display: block; } add this css, it will show menu items vertical
Mar 12, 2019 at 11:37 comment added Harsh Jayswal do you have any reference or any tutorial regarding this it will be very helpful to me I am new to Magento
Mar 12, 2019 at 11:35 comment added Waqar you can adjust first level of categories by using css but sub categories will not set without changing the js and code fies
Mar 12, 2019 at 11:34 comment added Harsh Jayswal i just want to use default css
Mar 12, 2019 at 11:34 comment added Harsh Jayswal I don't want change design or any functionality I just want to change its alignment
Mar 12, 2019 at 11:32 comment added Waqar no its not possible to do this by just changing the css, you have to update HTML design and code files
Mar 12, 2019 at 11:25 comment added Harsh Jayswal Is there any way to display a vertical menu using default CSS??. I just need to change its alignment all other design should be same
Mar 12, 2019 at 11:17 comment added Harsh Jayswal i am not having any CSS class whatever I want to display by using default functionality
Mar 12, 2019 at 11:17 comment added Waqar first you have to create a module to override the menu class
Mar 12, 2019 at 11:16 comment added Waqar you have to edit topmenu.php file and add your css classes.
Mar 12, 2019 at 10:44 comment added Harsh Jayswal in my custom theme should I paste that file topmenu.phtml file and call it using a catalog.xml file so it will work or not i have put your code in module ??
Mar 12, 2019 at 10:41 comment added Harsh Jayswal should I copy that entire file in my template and call that file using layout it will work or not ?? I am not having any idea of how to display menu vertically I have used your code there are no changes
Mar 12, 2019 at 10:35 comment added Waqar yourt_heme/Magento_Theme/templates/html/topmenu.phtm is the file where where you can start the menu
Mar 12, 2019 at 10:35 comment added Harsh Jayswal i am using a Magento luma theme
Mar 12, 2019 at 10:34 comment added Waqar You may need to change template file according to your theme.
Mar 12, 2019 at 10:29 comment added Harsh Jayswal there is no need to create any template file ??
Mar 12, 2019 at 10:26 history answered Waqar CC BY-SA 4.0