Shopaholic Theme with PAGE BUILDER - Agora

Octobercms Ecommerce Theme with Powerful Eshop & Blog Capabilities and an easy Page Builder system.

Back to Shopaholic Theme with PAGE BUILDER - Agora Support

Tciferblat
Tciferblat

Hello, it is possible to set parent (first level) menu as 'active' when I access it's submenus, for example Brands list -> Brand, or Catalog -> Catalog item -> Product description and etc...? Thank you:)

Charis
Charis

Tciferblat said:

Hello, it is possible to set parent (first level) menu as 'active' when I access it's submenus, for example Brands list -> Brand, or Catalog -> Catalog item -> Product description and etc...? Thank you:)

Hello!
Agora theme is created using bootstrap 4 framework, Bootstrap 4 native menu system has this behavior, or if you want, limitation of no clickable parent links. So this is not a theme limitation but bootstrap 4.

But if you really need this feature there is an easy way to fix it. Just add this code to your themes/ketikidis-agora/assets/js/main.js

$('.dropdown-toggle').click(function() {
    var location = $(this).attr('href');
    window.location.href = location;
    return false;
});

But with this code all parent menu items will be active, not only first level.

Last updated

1-2 of 2