Back to Modular Theme with PAGE BUILDER - Clear Support

lientruong71436111
lientruong71436111

How do I make a menu item clickable when it has children?

For example:

Electronics

TV

Computers

I have set the static page for Electronics, TV, and computers, but only TV and computers are clickable while Electronics isn't.

Last updated

Charis
Charis

lientruong71436111 said:

How do I make a menu item clickable when it has children?

For example:

Electronics

TV

Computers

I have set the static page for Electronics, TV, and computers, but only TV and computers are clickable while Electronics isn't.

Hello! Clear 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-clear/assets/js/main.js or on theme settings on advanced tab js code field.

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

Thank you, that worked.

Francesco
Francesco

Thanks, i also need this function!

1-4 of 4