• Resolved yukikatayamadesigns

    (@yukikatayamadesigns)


    Hi,

    In the Theme Options, I selected button menu under Responsive Menu, however the responsive hamburger menu on my iPhone nor my computer (when I shrink the window) does not do anything/is not “active”.

    Any solutions to fixing it would be greatly appreciated!
    Y

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you please post a link to your site so we can examine it?

    Thread Starter yukikatayamadesigns

    (@yukikatayamadesigns)

    The problem is that your site isn’t loading the jquery code from the jquery site. I’m not sure if you have some plugin that tries to do this, but that’s not the way the default Fruitful theme works.

    To give you a more detailed explanation, do a view source on the site’s front page. Do a search on the word jquery. The first line you will see is at line 23, which looks like this:

    
    <link rel='dns-prefetch' href='//code.jquery.com'>
    

    This link tells the browser to get the address of the jquery site ahead of time so when it comes time to retrieve something from that site, it will know where to go.

    If you repeat the search a couple of times, you’ll see this at line 62:

    
    <script type='text/javascript' src='/jquery-1.11.3.min.js?ver=1.11.3'></script>
    

    This line brings in the jquery code. The problem is that the src attribute uses a relative location, i.e., because the src attribute starts with a single slash, it’s trying to find the jquery file at the same address as the site:

    
    https://rebeccajohnsontherapy.com/jquery-1.11.3.min.js
    

    However, it should be looking at the address specified in the prefetch link above:

    
    //code.jquery.com/jquery-1.11.3.min.js
    

    If you know how to use Chrome Dev Tools, you can inspect the site, look in the Console tab, and confirm that the jQuery file isn’t being loaded.

    As far as how to fix it, I don’t know why the jquery DNS is being prefetched on your site because it’s not happening on my test site with Fruitful active. On my site, and I think with most WP sites, the jquery file is just pulled in from one of the WordPress folders, like this:

    
    <script type='text/javascript' src='https://example.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
    

    I would first try deactivating all of your plugins and see if that fixes it. If it does, then try reactivating your plugins one by one until you find the offending plugin.

    Thread Starter yukikatayamadesigns

    (@yukikatayamadesigns)

    Thanks for the advise on deactivating/reactivating plugins. It was the WP Google Maps plugin that was causing the problem. Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Responsive Menu’ is closed to new replies.