-
AuthorPosts
-
February 6, 2019 at 6:13 pm #1063712
Hi,
the submenu element is not sticky anymore.
- To exclude plugins as reasons we disabled them
- No errors in console logged
- Submenu item enabled in performance options
- Script compressing disabled
- No caching
Is it general issue or just with our installation?
February 7, 2019 at 8:49 am #1063915Hey rup,
I just tested it on my local install on Enfold and it works fine.
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
NikkoFebruary 8, 2019 at 3:42 pm #1064602Hi,
i think i’ve found it. Check out your demo installation with a BURGER main menu and try again.
in menu.js there’s this piece of code:/** * If we have burger menu active we ignore sticking submenus */ if( burger_menu.is(":visible") ) { this.css({top: 'auto', position: 'absolute'}); fixed = false; return; }
Is there a possibility you enable the sticky submenu for burger menu too? Or how can i overwrite it? I want to keep theme update safe.
Best,
PatFebruary 8, 2019 at 5:02 pm #1064652Hi Pat,
You can copy menu.js to the js folder of your child theme so the directory structure should be enfold-child > js > menu.js
Then modify menu.js and on the functions.php of your child theme add:// Replace avia.js function change_menujs() { wp_dequeue_script( 'avia-module-menu' ); wp_enqueue_script( 'avia-module-menu-child', get_stylesheet_directory_uri().'/js/menu.js', array('avia-shortcodes'), false, true ); } add_action( 'wp_enqueue_scripts', 'change_menujs', 100 );
Hope this helps.
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.