how to toggle sections in html or asp core
hello, in the theme for e.g. https://preview.keenthemes.com/metronic8/demo51/index.html?mode=light
There are sections where I want to be able to toggle/resize or hide the top big buttons sections can you please help.
how can we change the background for the toggle sections
how we we make it toggle-able
how can we assign random colors on load.
Replies (1)
Hi,
Thank you for reaching out to us.
- To change background you can use a bootstrap
bg-{color}classes. For more information on these classes refer to our documentation. - You can make a togglable section using our custom js component. https://preview.keenthemes.com/html/metronic/docs/general/toggle
- At the moment we do not have build-in functionality to generate completely random colors I think you can create an array with the predefined color and then randomly pick a color from the array and use it as value for CSS
background-color.
Regards,
Lauris Stepanovs,
Keenthemes Support Team