Skip to content

EPS- 1012: Navigation issue in full width #1063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion inc/js/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@
}else if ( window.matchMedia( "( max-width: 1024px )" ).matches && $( '.elementor-element-' + id ).hasClass('hfe-nav-menu__breakpoint-tablet') ) {

_toggleClick( id );
}else{
var $toggle = $( '.elementor-element-' + id + ' .hfe-nav-menu__toggle' );
var $nextElement= $toggle.next();
var width = $nextElement.parent().width();
if( $nextElement.length ){
$nextElement.css( 'width', width + 'px' );
$nextElement.css( 'left', '0' );
}
}
}

Expand Down Expand Up @@ -585,7 +593,7 @@
if( $nextElement.length ){
$nextElement.css( 'left', '0' );

var $section = $( '.elementor-element-' + id ).closest('.elementor-section');
var $section = $( '.elementor-element-' + id ).closest('.elementor-section, .e-con-boxed');
if ( $section.length ) {
var width = $section.outerWidth();
var sec_pos = $section.offset().left - $toggle.next().offset().left;
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ To access the advanced features and premium widgets, you’ll need to upgrade to

== Changelog ==

= 2.2.0.1 =
- Fix: Navigation Menu - Full-width dropdown menu now stays correctly positioned when resizing in responsive mode.

= 2.2.0 =
- New: Ultimate Addons for Elementor now includes translations for Dutch, French, Spanish, and German enhancing multilingual accessibility.
- Fix: Navigation Menu - Anchor links now correctly scroll to sections/container when submenu items with IDs are clicked.
Expand Down