August 14, 2013 at 9:36 pm #3247
The theme is working perfectly for me and is a really great theme but one major problem I’m having is that when the theme is loaded on a mobile device, the menu disappears and the drop down list doesn’t appear.
I read that it seems to run into problems when the menu is quite large but I tested it with a smaller menu of only 3 items and it still doesn’t work.
I tried custom CSS as I read in another thread which was suggested
This however just listed the first three menu items but the drop down list again didnt appear.
It seems like it’s not loading the JS which I guess is what turns it to a drop down?
Another small little thing I’ve forgotten how to do is the little box that appears at the bottom of a page to take you back to the top. I think I disabled this by mistake and I forget what the class name is to make it reappear.
The site I’m working on is http://www.cavendishhotel.co.uk/test/wordpress
If anyone can help I would greatly appreciate it
MichaelAugust 15, 2013 at 7:30 am #3255Rabin ShresthaParticipant
Please download the fresh copy of our theme and reinstall it. It seems you have made changes with our theme. It’s not recommended to directly change the theme code but rather you can use child theme approach.
Now it seems some plugins that you have installed is conflicting with our theme so the menu is not working in mobile device so turn off each plugin one by one and see if this works or no.
RabinAugust 15, 2013 at 9:10 am #3258
Hi Rabin thank you so much for your swift response. I have no been able to narrow down the problem which is occurring in the header file.
The problem is that I need to call the above jquery library for my booking engine to work correctly and if I move that to near the top of the header file, the menu will work but the booking engine won’t. I tried moving around the wp_head function because I thought maybe it was conflicting with that but I still can’t get both to work at the same time.
Would you have any idea how I can get around this? Is jQuery already called in the theme for the menu? If so maybe I just need to change the code for the booking engine to reference where your jQuery is pointing to?August 15, 2013 at 9:19 am #3259
Also I noticed the jQuery I am pointing to will only display for me if it’s right before the closing head tag no where else. When that happens though the menu function wont work.
I tried disabling plugins as well but no differenceAugust 15, 2013 at 2:11 pm #3272
Can anyone please help? Ive spent all day looking at solutions but to no availAugust 19, 2013 at 8:18 am #3364Rabin ShresthaParticipant
As I have already told you, you edit the theme file directly as you will lose all your changes when you update the theme. Also you are not allowed to directly write the script on the header like that. That’s totally wrong way. WordPress has it’s own way of adding jquery scripts. Have a look here on this article http://wp.tutsplus.com/tutorials/the-ins-and-outs-of-the-enqueue-script-for-wordpress-themes-and-plugins/
Why are you again trying to load the jquery twice as it’s been already loaded.
Also I think you need to hire someone who can figure this out correctly rather than doing it incorrectly on your own
- You must be logged in to reply to this topic.