Changeset 3215636
- Timestamp:
- 01/01/2025 12:28:28 PM (12 months ago)
- Location:
- multilevel-navigation-menu
- Files:
-
- 13 added
- 3 edited
-
tags/1.0.8 (added)
-
tags/1.0.8/assets (added)
-
tags/1.0.8/assets/css (added)
-
tags/1.0.8/assets/css/mnmwp-backend.css (added)
-
tags/1.0.8/assets/css/mnmwp-front.css (added)
-
tags/1.0.8/assets/images (added)
-
tags/1.0.8/assets/images/mnmwp_logo.png (added)
-
tags/1.0.8/assets/js (added)
-
tags/1.0.8/assets/js/mnmwp-backend.js (added)
-
tags/1.0.8/assets/js/mnmwp-front.js (added)
-
tags/1.0.8/multilevel-navigation-menu.php (added)
-
tags/1.0.8/readme.txt (added)
-
tags/1.0.8/uninstall.php (added)
-
trunk/assets/css/mnmwp-front.css (modified) (1 diff)
-
trunk/multilevel-navigation-menu.php (modified) (19 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
multilevel-navigation-menu/trunk/assets/css/mnmwp-front.css
r2509011 r3215636 28 28 #mnmwp-main-menu li:hover > ul {left: auto;} 29 29 #mnmwp-main-menu.align-right li:hover > ul {left: auto;right: 0;} 30 #mnmwp-main-menu li:hover > ul > li {height: 35px; }30 #mnmwp-main-menu li:hover > ul > li {height: 35px;z-index: 999;} 31 31 #mnmwp-main-menu ul ul ul {margin-left: 100%;top: 0;} 32 32 #mnmwp-main-menu.align-right ul ul ul {margin-left: 0;margin-right: 100%;} -
multilevel-navigation-menu/trunk/multilevel-navigation-menu.php
r2856489 r3215636 6 6 * Author: Laxman Prajapati 7 7 * Author URI: https://laxmanprajapati.wordpress.com/ 8 * Version: 1.0.88 * Version: 2.0.0 9 9 * Text Domain: multilevel-navigation-menu 10 10 * … … 23 23 * @package MultilevelNavigationMenu 24 24 * @author Laxman Prajapati 25 * @version 1.0.825 * @version 2.0.0 26 26 */ 27 27 … … 482 482 /** Navigation Menu Outer Width Get **/ 483 483 $mnmwp_menu_outer_width = get_option( 'mnmwp-menu-outer-width' ); 484 if(empty($mnmwp_menu_outer_width)) $mnmwp_menu_outer_width = $mnmwp_menu_default_ back_color;484 if(empty($mnmwp_menu_outer_width)) $mnmwp_menu_outer_width = $mnmwp_menu_default_outer_width; /* V: 2.0.0 */ 485 485 486 486 /** Navigation Menu Inner Width Get **/ 487 487 $mnmwp_menu_inner_width = get_option( 'mnmwp-menu-inner-width' ); 488 if(empty($mnmwp_menu_inner_width)) $mnmwp_menu_inner_width = $mnmwp_menu_default_ font_color;488 if(empty($mnmwp_menu_inner_width)) $mnmwp_menu_inner_width = $mnmwp_menu_default_inner_width; /* V: 2.0.0 */ 489 489 490 490 /** Mobile Menu Breakpoint **/ … … 529 529 /*--- For Desktop ---*/ 530 530 /*-- First Level --*/ 531 #mnmwp-main-menu {background: <?php echo $mnmwp_first_back_color; ?>; width: <?php echo $mnmwp_menu_outer_width; ?>; padding: 0 <?php echo $mnmwp_menu_inner_width; ?>;}531 #mnmwp-main-menu {background: <?php echo $mnmwp_first_back_color; ?>; <?php if($mnmwp_menu_outer_width){ echo 'width:'.$mnmwp_menu_outer_width; } ?>; <?php if($mnmwp_menu_inner_width){ echo 'padding:0 '.$mnmwp_menu_inner_width; } ?>;} /* V: 2.0.0 */ 532 532 #mnmwp-main-menu > ul > li{background: <?php echo $mnmwp_first_back_color; ?>;} 533 533 #mnmwp-main-menu > ul > li:hover{background: <?php echo $mnmwp_first_back_color_hover; ?>;} … … 535 535 #mnmwp-main-menu ul li a:hover {color: <?php echo $mnmwp_first_font_color_hover; ?>;} 536 536 #mnmwp-main-menu > ul > li.current-menu-item, #mnmwp-main-menu > ul > li.current-menu-ancestor {background: <?php echo $mnmwp_first_back_color_active; ?>;} 537 #mnmwp-main-menu > ul > li.current-menu-item > a, #mnmwp-main-menu > ul > li.current-menu-ancestor > a{color: <?php echo $mnmwp_first_font_color_active; ?>;} 538 537 #mnmwp-main-menu > ul > li.current-menu-item > a, #mnmwp-main-menu > ul > li.current-menu-ancestor > a {color: <?php echo $mnmwp_first_font_color_active; ?>;} 539 538 /*-- Icon Color --*/ 540 539 #mnmwp-main-menu ul li.has-sub > a:after, #mnmwp-main-menu ul li.has-sub > a:before {background: <?php echo $mnmwp_first_font_color; ?>;} … … 547 546 #mnmwp-main-menu ul li.current-menu-ancestor.has-sub > a:before 548 547 {background: <?php echo $mnmwp_first_font_color_active; ?>;} 549 550 548 /*-- Second Level --*/ 551 549 #mnmwp-main-menu ul ul li a{background: <?php echo $mnmwp_second_back_color; ?>;color: <?php echo $mnmwp_second_font_color; ?>;} 552 550 #mnmwp-main-menu ul ul > li:hover > a {background: <?php echo $mnmwp_second_back_color_hover; ?>;color: <?php echo $mnmwp_second_font_color_hover; ?>;} 553 554 551 #mnmwp-main-menu ul ul li.current-menu-item > a, #mnmwp-main-menu ul li.current-menu-ancestor ul li.current-menu-ancestor > a{background: <?php echo $mnmwp_second_back_color_active; ?>;color: <?php echo $mnmwp_second_font_color_active; ?>;} 555 556 552 /*-- Icon Color --*/ 557 553 #mnmwp-main-menu ul ul li.has-sub > a:after, #mnmwp-main-menu ul ul li.has-sub > a:before {background: <?php echo $mnmwp_second_font_color; ?>;} … … 563 559 #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub:hover > a:before 564 560 {background: <?php echo $mnmwp_second_font_color_active; ?>;} 565 566 567 561 /*-- Rest All Level --*/ 568 562 #mnmwp-main-menu ul ul ul li a{background: <?php echo $mnmwp_rest_back_color; ?>;color: <?php echo $mnmwp_rest_font_color; ?>;} … … 571 565 #mnmwp-main-menu ul ul ul li.current-menu-item > a, #mnmwp-main-menu ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-item.has-sub > a 572 566 {background: <?php echo $mnmwp_rest_back_color_active; ?>;color: <?php echo $mnmwp_rest_font_color_active; ?>;} 573 574 567 #mnmwp-main-menu ul ul ul li.current-menu-item > a, #mnmwp-main-menu ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-ancestor.has-sub > a, 575 568 #mnmwp-main-menu ul ul ul li.current-menu-item > a, #mnmwp-main-menu ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-item.has-sub > a … … 577 570 #mnmwp-main-menu ul ul ul li.current-menu-item > a, #mnmwp-main-menu ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-ancestor ul li.current-menu-item.has-sub > a 578 571 {background: <?php echo $mnmwp_rest_back_color_active; ?>;color: <?php echo $mnmwp_rest_font_color_active; ?>;} 579 580 572 /*-- Icon Color --*/ 581 573 #mnmwp-main-menu ul ul ul li.has-sub > a:after, #mnmwp-main-menu ul ul ul li.has-sub > a:before {background: <?php echo $mnmwp_rest_font_color; ?>;} … … 607 599 #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-item.has-sub:hover > a:before 608 600 {background: <?php echo $mnmwp_rest_font_color_active; ?>;} 609 610 601 /*--- For Mobile ---*/ 611 602 /*-- First Level --*/ … … 615 606 .is_mobile #mnmwp-main-menu > ul > li:hover {background: none;} 616 607 .is_mobile #mnmwp-main-menu ul li:hover > a{background: <?php echo $mnmwp_first_back_color_hover; ?>;color: <?php echo $mnmwp_first_font_color_hover; ?>;} 617 618 608 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor:hover > a, 619 609 .is_mobile #mnmwp-main-menu ul li.current-menu-item:hover > a {background: <?php echo $mnmwp_first_back_color_active; ?>;color: <?php echo $mnmwp_first_font_color_active; ?>;} 620 621 610 /*-- Second Level --*/ 622 611 .is_mobile #mnmwp-main-menu ul ul li:hover > a{background: <?php echo $mnmwp_second_back_color_hover; ?>;color: <?php echo $mnmwp_second_font_color_hover; ?>;} 623 612 .is_mobile #mnmwp-main-menu ul ul li.current-menu-ancestor:hover > a, 624 613 .is_mobile #mnmwp-main-menu ul ul li.current-menu-item:hover > a{background: <?php echo $mnmwp_second_back_color_active; ?>;color: <?php echo $mnmwp_second_font_color_active; ?>;} 625 626 614 /*-- Rest All Level --*/ 627 615 .is_mobile #mnmwp-main-menu ul ul ul li:hover > a{background: <?php echo $mnmwp_rest_back_color_hover; ?>;color: <?php echo $mnmwp_rest_font_color_hover; ?>;} … … 629 617 .is_mobile #mnmwp-main-menu ul ul ul li.current-menu-item:hover > a 630 618 {background: <?php echo $mnmwp_rest_back_color_active; ?>;color: <?php echo $mnmwp_rest_font_color_active; ?>;} 631 632 633 619 /*-- Icon CSS --*/ 634 620 .is_mobile #mnmwp-main-menu ul > li.has-sub > .mnm-submenu-button.mnm-submenu-opened:before, … … 644 630 .is_mobile #mnmwp-main-menu ul ul ul > li.has-sub > .mnm-submenu-opened.mnm-submenu-opened:before, 645 631 .is_mobile #mnmwp-main-menu ul ul ul > li.has-sub > .mnm-submenu-opened.mnm-submenu-opened:after {background: <?php echo $mnmwp_rest_font_color_hover; ?>;} 646 647 648 632 /*- First Level Icon -*/ 649 633 .is_mobile #mnmwp-main-menu ul li.current-menu-item.has-sub > .mnm-submenu-button:after, … … 661 645 {background: <?php echo $mnmwp_second_font_color_active; ?>;} 662 646 /*- Rest Level Icon -*/ 663 664 647 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub .mnm-submenu-button:after, 665 648 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub .mnm-submenu-button:before … … 668 651 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub > .mnm-submenu-button.mnm-submenu-opened:before 669 652 {background: <?php echo $mnmwp_rest_font_color_active; ?>;} 670 671 672 653 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.has-sub > .mnm-submenu-button:after, 673 654 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.has-sub > .mnm-submenu-button:before … … 676 657 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub > .mnm-submenu-button:before 677 658 {background: <?php echo $mnmwp_rest_font_color_active; ?>;} 678 679 659 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub > .mnm-submenu-button.mnm-submenu-opened:after, 680 660 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub > .mnm-submenu-button.mnm-submenu-opened:before … … 683 663 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.has-sub > .mnm-submenu-button.mnm-submenu-opened:before 684 664 {background: <?php echo $mnmwp_rest_font_color_hover; ?>;} 685 686 665 .is_mobile #mnmwp-main-menu > ul > li.current-menu-ancestor.has-sub ul > li.current-menu-ancestor.has-sub ul > li.current-menu-item.has-sub > .mnm-submenu-button:after, 687 666 .is_mobile #mnmwp-main-menu > ul > li.current-menu-ancestor.has-sub ul > li.current-menu-ancestor.has-sub ul > li.current-menu-item.has-sub > .mnm-submenu-button:before … … 690 669 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-item.has-sub > .mnm-submenu-button:before 691 670 {background: <?php echo $mnmwp_rest_font_color_active; ?>;} 692 693 671 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-item.has-sub > .mnm-submenu-button.mnm-submenu-opened:after, 694 672 .is_mobile #mnmwp-main-menu ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-ancestor.has-sub ul li.current-menu-item.has-sub > .mnm-submenu-button.mnm-submenu-opened:before 695 673 {background: <?php echo $mnmwp_rest_font_color_active; ?>;} 696 697 674 .is_mobile #mnmwp-main-menu #mnm-menu-button button.btn.menu-btn span{background: <?php echo $mnmwp_menu_icon_color; ?>;} 698 699 675 </style> 700 676 <?php … … 703 679 printf( '<span class="mnmwp_no_menu_selected">Can you please select your menu on the "MNM Header Menu" Location.</span>' ); 704 680 endif; 681 return ob_get_clean(); 705 682 } 706 683 } -
multilevel-navigation-menu/trunk/readme.txt
r2856489 r3215636 4 4 Contributors: laxman-prajapati 5 5 Tags: full screen menu, navigation menu, navmenu, nav menu, menus, multilevel menu, menu, dropdown menu, mobile, responsive, shortcode, responsive menu, mobile menu 6 Requires at least: 4.77 Tested up to: 6. 1.18 Requires PHP: 5.66 Requires at least: 6.3 7 Tested up to: 6.6 8 Requires PHP: 7.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 89 89 * Fix Minor bugs. 90 90 * Tested up to PHP 8.1 91 92 = 2.0.0 - 01/01/2025 = 93 *Release Date - 01 January 2025* 94 * Fixed minor bugs. 95 * Resolved a CSS issue. 96 * The dynamic values for "Navigation Menu Outer Width" and "Navigation Menu Inner Container Left/Right Space (Padding)" were not working previously as defined in the backend configuration. This issue has now been fixed, and the feature works properly in this version. 97 * If you experience any left or right spacing issues after updating this plugin, please ensure that the 'Navigation Menu Outer Width' and 'Navigation Menu Inner Container Left Right Space (Padding)' settings are configured correctly on the settings page under Appearance > Multilevel Navigation Menu. 98 * Based on the theme, there is the possibility to change the priority of some CSS classes to ensure the navigation menu's CSS displays properly on the frontend. 99 * Tested with the latest "Twenty Twenty-Four" and "Twenty Twenty-Five" themes. 100 * Tested up to PHP 8.1.
Note: See TracChangeset
for help on using the changeset viewer.