elementor / elementor/elementor

🚀 Feature Request: Nav Menu Dropdown Active Link

Open
#19,102 1 comment 1 reaction 0 assignees View on GitHub
mod/r* request widget/pro/nav-menu*
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

### Prerequisites

- [X] I have searched for similar features requests in both open and closed tickets and cannot find a duplicate.
- [X] The feature is still missing in the latest stable version of Elementor ( Elementor Pro )

### What problem is your feature request going to solve? Please describe.

When you use the Nav Menu widget in Dropdown mode there's currently no option to leave the Dropdown menu open after opening the target page of a Submenu link (example below, link circled in red).

![image](https://user-images.githubusercontent.com/66488356/177641070-2c5f050a-ee38-41a0-9046-8577bfec888a.png)

### Describe the solution you'd like

I've solved that issue with this little piece of JS, but I'm sure a toggled option will be much better.

jQuery(function($){
$(document).ready(function(){
$('#side-menu .current-menu-item').parent().show();
});
})

Where #side-menu is the id of the widget.

### Describe alternatives you've considered

_No response_

### Additional context

Thanks for taking this into consideration.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.