Menu in mobile
-
Hi,
When viewing my site [www.andrewlawrence.uk] on mobile devices the menu now no longer works. It did up to a few weeks ago, but I’ve now noticed it no longer drops down as it used to.
Have I done something wrong accidentally for this to happen?
Thanks,
Andy
-
Did you make changes to the theme or install new plugins?
I would deactivate all plugins and see if that fixes it.
If it does, then reactivate all plugins one by one and see which one is the cause.If you made changes to the theme itself, then that’s harder to fix.
Hi,
The only thing I changed in the theme are the colour codes.
So, should I deactivate and then reactivate the plugins?Thanks!
It’s very odd, but in my personal experience when something like this happens it’s because of a plugin.
I would go ahead and try that and see what happens.Just checked my plugins and none of them are actually active at the moment
If I go to your site and look at the Html source code it looks like something is not loading in the sidebar.
This is the end of the page:
<div id="secondary" class="widget-area" role="complementary"> </div><!-- #secondary -->Either you added something to a theme file that affected the code or there’s a widget that’s causing havoc. This is why the menu is now showing up. The javascript files that are included in the footer aren’t showing up.
My sidebar source code has a bit more, with the following in it:
<div id=”secondary” class=”widget-area” role=”complementary”>
<?php do_action( ‘before_sidebar’ ); ?>
<?php if ( ! dynamic_sidebar( ‘sidebar-1’ ) ) : ?><?php endif; // end sidebar widget area ?>
</div><!– #secondary –>That code looks correct and no change was made to it.
Now, if you to to Appearances > Widgets
What widgets do you have set up.
One of these is breaking your site.The sidebar is empty, no widgets have been dragged into it
If it’s not the plugins, nor widgets, then the theme is broken and something must have happened to it.
I would try and reinstall a fresh copy.hi, it’s all started working now! thank you!
The topic ‘Menu in mobile’ is closed to new replies.
