D
D
Daniel Dexter2018-12-07 09:07:43
Drupal
Daniel Dexter, 2018-12-07 09:07:43

Drupal 7 with Bootstrap theme. The main menu items do not work when clicked. How to make it work?

Drupal 7 website with Bootstrap theme.
- The main menu items do not work when clicked - there is no link following.
- It is necessary to make the main menu items work when clicked.
- Out of the box menu works correctly.
- The main menu items open under the menu when clicked.
- It is necessary that the submenu would drop out when hovering the mouse, and when clicked, there was a transition.
- I did the first, but not the second ... =(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
archelon, 2018-12-07
@archelon

if you have this theme https://www.drupal.org/project/bootstrap
try editing the file templates/menu/menu-link.func.php
comment out this line

$options['attributes']['data-toggle'] = 'dropdown';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question