- This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by .
- The topic ‘Mobile menu does not appear on single posts (Foodie Pro 3.1.0)’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm having an issue where the responsive mobile menu (<div class=".menu-toggle">) does not appear on single posts.
However, it does appear on the home page and category pages.
Any help would be much appreciated!
Child theme: Foodie Pro 3.1.0
The mobile-menu div is added at the local browser level by jQuery at run time. Your site is displaying a significant jQuery error from the social warfare plugin that may be preventing following scripts from executing. The social warfare script is loading on line 1792 and the theme's general.js file is loading on line 1795.
There are no other obvious errors that I can see from the front end. My suggestion is to deactivate social warfare and see if it makes a difference.
Victor, You are an Angel!
The Social Warfare plugin was the culprit—that plugin has been a nightmare since they updated to 3.0.
If you don't mind me asking, what tool did you use to find that error?
I couldn't see the problem using the browser's built-in inspection tool, which is the normal way. I had to visit your site on my iPhone, connect it to my Mac and use Safari's developer tools. This way you can see the code on the iPhone.
© 2023 WPEngine, Inc.