How can i make the sidebar permanently collapsed and get the submenus in hover over the side bar menus in metronic 8.2.2v "react". please help i am design a dashboard for my customer.
As for implementing hover-over submenus, you'll need to make some adjustments to the sidebar's styling and behavior. Typically, hover-over submenus are achieved through CSS and JavaScript. You can use CSS to hide the submenus by default and show them when the user hovers over the corresponding sidebar menu item. JavaScript can be used to handle the hover event and toggle the visibility of the submenus.
Hi Vineet,
Thank you for reaching out to us.
To make the sidebar collapsed by default you can update the configuration file src/_metronic/layout/core/_LayoutConfig.ts.
Change minimize properties as shown below.
minimize: {
desktop: {
enabled: true,
default: true,
hoverable: true,
},
},