Hi.. How to put a menu vertically in the sidebar? Currently they are collapsed, the items get together with each other
Menu in sidebar
Hi carlosdel123,
You can add the following folder to the \templates\gk_blank\html folder.
- Edited
I uploaded the files and it gives me the following error:
0 Class "T4\Helper\Layout" not found
Hi carlosdel123,
Could you send the admin account and FTP for further checking? I will help you resolve this issue.
hi dominic
OK, I will send you the data in a private post. Apparently the error is because it requests the Joomlart T4 framework plugin.
Hopefully it can be solved without installing that plugin.
Thank you
Hi carlosdel123,
I have updated the /templates/gk_blank/html/mod_menu/default.php file, you can check your site now.
- Edited
Thanks you dominic
Thank you.
At the same url in the sidebar I have a module with a second level menu that is automatically displayed when you hover the mouse over it. How can I change this? since that way it is not friendly to mobile devices.
Ideally, only clicking on the parent menu will show the child menus.
Hi carlosdel123,
I have updated the following JS in the /templates/gk_blank/html/mod_menu/default.php file to allow clicking on the icon to open the menu.
and still allow hover top open sub-menu items on the desktop.
<script>
$(document).ready(function() {
if (window.matchMedia("(max-width: 768px)").matches) {
$('.click-open').click(function() {
// Toggle the 'open-menu' class on the sibling .dropdown-menu
$(this).siblings('.dropdown-menu').toggleClass('open-menu');
// Close other dropdown menus
$('.click-open').not(this).siblings('.dropdown-menu').removeClass('open-menu');
});
}
});
</script>