Forum Replies Created
-
AuthorPosts
-
November 27, 2016 at 10:44 am in reply to: Full width submenu as new menu location (lost breadcrumbs) #717405
The code snippet I used came from post #473627of this thread: https://kriesi.at/support/topic/full-width-submenu-as-new-menu-location/
November 26, 2016 at 11:07 pm in reply to: Full width submenu as new menu location (lost breadcrumbs) #717293You have my permission to deactivate plugins for testing, but please return to original state afterwards.
Login info in private content area.Hi Rikard,
The problem is that the drop down menus cannot be closed/disengaged/tapped-off unless user taps another menu (which also sticks open).
This is a problem on all my menus throughout the site, not just full-width. I use a mega menu in my main menu and it blocks the whole screen and cannot be disengaged on iPad (haven’t tested Android yet).Ismael’s solution is a work-around, but is not ideal since the mobile menu button kills the elegance of your full-width menus and takes up most or all of the screen. Also, the problem with the mega menu remains.
I should reiterate that ALL drop down menus fail to disengage/tap-off, not just full-width menus. This is the core problem for me here. Perhaps I have something conflicting in my quick css or custom.css, but I cannot figure it out.
I originally thought the problem might be with my suite of Geodirectory plugins, but I have tested with all plugins deactivated and the problem remains.This functions great, but the mobile button is not preferable on iPad since it takes up between 75% of the screen when opened (nearly 300% if all menu items are revealed). Ironically, this method also does not allow users to select the top item in menu (selecting top item closes mobile menu instead).
The regular full-width menu with items arranged neatly in a line is much more elegant.
Are you sure there is no way to get these full-width menu drop downs to simply “tap-off” without having to resort to a mobile menu?Perhaps the problem is that I am not getting a menu button on iPad as the settings would suggest (although I would not prefer this since all menu items fit nicely in 1 row anyway). I found that if I set Mobile Menu Display to “Display a button to open menu” the full-width menu still displays as a row on iPad, and I am immediately brought to the top menu item destination when I try to tap open the menu (the menu will drop down, but by then the page is already changing).
On iPhone, I see a menu button as expected and everything works great.If I set Mobile Menu Display to “Display full menu” then the drop-down activates on iPad without navigating away, however I can’t”tap-off” and menu stays stuck open until I click another menu.
On iPhone, the behaviour is the same as iPad, except that there are multiple menu rows (not really a problem) and drop-downs show up behind top-level menu items (can’t select, big problem).The “Display a menu button” option would be ideal if it wasn’t for the iPad constantly navigating away when trying to tap open the menu.
I’ve tried adding this code to my functions.php as you suggested in the original thread, but no change in behaviour:
add_action('wp_footer', 'ava_close_submenu'); function ava_close_submenu(){ ?> <script> (function($){ $('.av-subnav-menu li > ul a').click(function() { $('.av-subnav-menu').removeClass('av-open-submenu'); }); })(jQuery); </script> <?php }
I updated Enfold and temporarily deactivated all plugins and the problem remains.
August 11, 2015 at 10:27 am in reply to: Full-width menu on iPad: drop-down anchor menu sticks open after selection #485805OK, I’m back on task with this problem and found the Mobile Menu Display setting within the submenu settings.
Changing back and forth between “full menu” and “button” did not solve the problem.Just to recap:
• tapping on Full-width menu item triggers link immediately when tapped on iPad instead of revealing submenus (actually the submenu does blip open for a split second, but by then the iPad is already loading the top menu item).
• All drop down menu items in main menu stay open on iPad (tapping menu item reveals drop down items, but tapping away does not close drop down).Any other ideas on how to fix this?
June 13, 2015 at 11:16 pm in reply to: Full-width menu on iPad: drop-down anchor menu sticks open after selection #458863I’m sorry, but I cannot find any settings for “Mobile Menu Display” in WP or Enfold.
I see a “Mobile Menu” tab in the Header menu within Enfold Theme options, but there are no settings related to what you are describing.
Please advise.June 4, 2015 at 9:03 am in reply to: Full-width menu on iPad: drop-down anchor menu sticks open after selection #454297This reply has been marked as private.June 4, 2015 at 8:36 am in reply to: Full-width menu on iPad: drop-down anchor menu sticks open after selection #454288Hi Rikard,
The page does not reload since they are anchor links within the same page. The page works fine on my desktop computer, but on the iPad (I’ve tried 2 iPads on iOS 7 & iOS 8.3) the drop down menu remains stuck open after selection.Also, when using iPad, the first tap of the drop down menu immediately takes the user down the page to the anchor link associated with the top drop-down menu item (the expected iPad behaviour is for the first tap to open the drop down without proceeding to the link, allowing iPad users to then pick a selection from the drop-down menu of other anchor points).
Hope this description is clear.I had all plugins disabled and the problem remained.
I’ll pass admin login details in a private reply.
fyi. I am running multisite.The problem seemed to have solved itself about 24 hours later and are now appearing just fine on menu edit page. Beforehand there were no menus showing—just an option to create a new menu (however all menus showed and operated normally when viewing site from the front-end).
Could this be somehow related to page caching? We are currently using a combination of Heroku/Github/Amazon for the site set-up utilizing page caching to optimize page loading.
Still trying to sort this. Found a similar inquiry but using
$this->loop[$key]['address'] = geodir_get_post_info($id);
and
$items .= $address;
isn’t catching.https://kriesi.at/support/topic/masonry_entries-php-get-custom-field-value-or-content/
Thanks for the reply. Looks like we’re on the right track. When i put your suggestion on line 598 however, it removes the excerpt and displays just the number ‘0’ under the post title.
Any clue why?
-
AuthorPosts