Mobile Menu not functioning
-
Hello!
I have a mobile menu up and running on the interior pages of the website, but it doesn’t function on the home page (which is a separately coded front-page.php). I’m not sure what I’m doing wrong, and any help would be appreciated.
Oh, and I used Method 3 on this site to set up my original menu: http://www.wpbeginner.com/wp-themes/how-to-create-a-mobile-ready-responsive-wordpress-menu/
Thank you!
Hafsah-
This topic was modified 8 years, 7 months ago by
IceyD.
-
This topic was modified 8 years, 7 months ago by
-
Hi Icey D,
at
front-page.phpdid you add this code http://d.pr/i/6J7mRy ?
If yes, try to remove it, and see what happen.Thanks
Hey IceyD,
Looking at the source code, it seems there are quite a few scripts that are loading in the internal pages, which are not loaded in the home page. In particular there is jQuery UI, which might be required to do the toggle effect in your mobile menu.
I don’t know if you are comfortable with code, but what you have to do is make sure all required scripts are loading in the home page as well.
Please let me know if this is helpful.
@riderm4n I did add that code, but only when trying to fix it. It doesn’t work with or without it.
@fabiofiss I’m really not sure what is wrong… I coded the site myself, but I’m not very savvy with jQuery. Thank you!
can you show me your code of
front-page.phpandpage.php?HI IceyD,
I checked that you have a probelm with the toggle menu coding when comes to mobile view. You may need to check from that and rework again. However, I suggest you read the original coding, it’s may help. Hope this is help. Thanks.
-
This reply was modified 8 years, 7 months ago by
webgirl.
@zoehii But can you tell me what exactly IS wrong so I can fix? Thanks!
Nevermind! I fixed it. Thanks, all!
Awesome! I’m glad you got it! π
-
This reply was modified 8 years, 7 months ago by
The topic ‘Mobile Menu not functioning’ is closed to new replies.