Mobile Menu Items Not Working - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Mobile Menu Items Not Working

B

Bob

Template 4 months ago

Hello We are receiving more and more enquiries and emails from our website visitors saying that the menu items on our mobile website and not responding after logging in.

This has their menu options and also the log out menu item showing but we are getting many examples of those menu items not responding when they are clicked on recently.

If you visit our website you will see the red MY ASCA menu item to login. If you visit on a laptop screen or bigger things work fine. When you visit on a mobile device you will see the responsive menu and can see the red MY ASCA menu item and the log out options.

After logging in you can see that we have a second menu for our members - this is also permanently expanded and we would like this to be a responive 3 lines menu too or not overlap the page text.

However, if you click on the 3 lines responsive menu that brings up menu items including the logout option, many visitors can't use those buttons as they don't click or respond.

We are using Helix Ultimate for our template and also SPPB 5.7.0

Thanks for any help

0
15 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 months ago #200534

Hello,

Thank you for reaching out to us.

From my end, I tested the mobile menu and found that the logout functionality works correctly after logging in. If you’re still experiencing issues, please feel free to send a screencast or video so we can better understand the specific problem.

Regarding the second menu: since there are 8 menu items, displaying them all in a single row on smaller screens can lead to layout issues. To address this, you may consider using custom CSS/JS or implementing a secondary off-canvas menu to improve responsiveness. This would require customizations work.

As we do not offer customizations or layout changes, we recommend consulting with a developer to implement the design adjustments you’re looking for.

Let us know if there’s anything else we can assist you with.

Best regards,

0
B
Bob
Accepted Answer
4 months ago #200535

Thanks for getting back to me so quickly but I might not have made things as clear as I could sorry.

None of those buttons on that menu work for people when it doesn't work.

Did the other menu items work for you too?

As an expert in Helix Templates and SPPB products, are you able to tell why some visitors clicking the same menu items don't have it working and others do?

What I am meaning is, if it works on your pc or mobile device but doesn't work for many others, what might be happening there?

I will try and make a video or screencast but I was hoping for some deeper support in that the source code created by the template or the Joomshaper program might not be rendering on all browsers or all devices the same. I can get it to logout and work all okay on my phone but colleagues just get nothing happening when they click the same pages on their devices and so do a lot of our visitors.

My concern is that something is happening behind the scenes with code that has always worked before and I can't know or see the source code that Joomshaper uses.

Did you sign in and sign out again before replying or where you able to login for me in the admin side and see what code is activated on that template menu and what might be happening.

I'm not sure it as easy as logging in on one device and saying nothing is wrong.

This has only recently started happening yet all those menu items have been on that menu for a long, long time.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 months ago #200539

Thank you for your message and for clarifying the issue further.

I’ve tested your site on multiple browsers, and I personally did not encounter any problems with the mobile menu or logout functionality. However, I did notice some JavaScript errors coming from third-party extensions, including Maximenu CK, your cookie consent extension, and LinkedIn analytics scripts.

Since these scripts are external to the Helix Ultimate template and SPPB, they may be conflicting with your site’s mobile menu functionality. I recommend trying the following steps: • Temporarily disable those third-party extensions one at a time to see if the issue resolves. • Consider using alternative extensions for analytics or cookie consent or our mega menu if the current ones are causing compatibility issues.

If you’re able to provide a screencast or video demonstrating the issue on a device where it occurs, I’d be happy to take a closer look. That will help me determine whether it’s something related to the template or a conflict from external code.

Thanks again for your patience and understanding.

Best regards,

0
B
Bob
Accepted Answer
4 months ago #200549

Thanks so much for coming back to me Ziaul. This gives me a lot more to go at and I will test those extensions to see if they are conflicting. I will also make a screen capture as a colleague can recreate teh issue each time. It's weird it is so intermittent depending on device. Thank you again, I really appreciate it. I am out of the offcie tomorrow but will try it again on Thursday first thing.

0
J
Jeanette
Accepted Answer
1 month ago #208410

Hi Bob, I have the same issue. The mobile sub-menues are not working on some mobile phones. I have tested google and safari, it did not work, but strangely enough i testet firefox and that worked. This test was done on the same iphone. Also another customer did try the site in google, and it did not work. But when going inkognito the menus suddenly worked.

It makes no sence to me. Did you find a solution to this?

0
B
Bob
Accepted Answer
1 month ago #208469

Hi Jeanette Sorry to hear you are having similar issues but thank you for making me feel less alone and that I might be crazy.

Unfortunately I haven't found a real solution for this at all. I have tried disabling the other extensions and have reached out to the other developers that Ziaul suggested could be conflitcing with this but they can't see why or offered me any options and disabling some of the extensions didn't do anything.

Plus I can't find an alternative to LinkedIn tracking as suggested because - well its what we use and have always used.

A temporary fix I found was hard clearing of the cache from my hosts but that only lasted about a week and the complaints came back again.

I have had this setup for a very long time and never had a problem at all with both menus working together (CK Maxi Menu - Horizontal Joomla Menu & fly in SPPB menu) and using Helix Ultimate as my template but either an update somehwere changed everything or various browsers are rendering it differently. Very hard to recreate if it is working for you but impossible to get working if your fly in menu does nothing as a visitor.

I agree that it is strange that you can't really say its this phone with this browser as it can be anything. Incognito worked for a few of our visitors but not really expecting my visitors to know to try this or think of this. Just want it working again.

CK Maxi Menu has always been brilliant for us and Cedric the developer there is always on top of any conflicts etc but this is so random and intermittent that I'm not sure where it is coming from.

It didn't use to happen at all using all the extensions combined though. Very recent issue.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 3 months ago #202744

If everything is working fine now, please mark the question as complete by accepting any of our answers.

Thank you!

0
J
Jeanette
Accepted Answer
1 month ago #208411

Hi Ziaul, I replied to Bob since i have the same problem. Could you please have a look?

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #208464

Please, share a screencast of your issues.

Thanks

0
B
Bob
Accepted Answer
1 month ago #208470

Sorry I haven't replied to you Ziaul but the issue is still happening. I needed to do other tasks too and have got sidetracked. Sending a screen cast would be hard to show as nothing happens. It would just look like the menu appears as normal but then no menu items were getting selected or pages navigating because none of the menu items respond or work.

I did run it through my new best friend ChatGPT and it did offer some pretty interesting CSS and code changes to add to either the SPPB Additional CSS box or add to the Helix Body Tag but again, I haven't had chance to read that through carefully or test it on my test site.

One of the lines of code recommended from JoomShaper was simply to make the CK Menu hide but we can't live with that as we need both menus working like before.

Interested to hear that Jeanette is also experiencing this and wondered if she has the same 3rd party extensions to conflict with or not?

I can't remove the LinkedIn tracking though as its pretty core to us now and always worked OK before I think.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #208474

but from my end, PC Browser like chrome, firefox, safari and also from iPhone I see all menu items is working.

Did you try by installing latest Helix Ultimate?

Best regards,

0
J
Jeanette
Accepted Answer
1 month ago #208608

Hi Bob and Ziaul,

I actually manage to fix this issue by discussing with our mutual friend ChatGPT :-)

I figured that it was some kind of layer that was overlaying the menu. Dont ask me why it happens on some phones and others not... But it does happen that is obvious.

ChatGPT told me to put the following css code in your template: Template options, Custom code, Custom CSS. The code below solved everything. Give it a go and let me know if this might work for you too. Crossing fingers :)

/* Ensure the offcanvas is on top and clickable */
.offcanvas, .offcanvas.show { z-index: 1060; }
.offcanvas-backdrop { z-index: 1055; }
.offcanvas a, .offcanvas .nav-link { pointer-events: auto; }

/* If any overlay from SP Page Builder remains visible or blocks clicks */
.sp-overlay, .sppb-shape-divider, .cookiebar, .cookie-consent-overlay {
  pointer-events: none;
}

/* Applies only while the offcanvas is open — so overlays work normally otherwise */
body.offcanvas-active .sp-overlay,
body.offcanvas-open .sp-overlay,
body.offcanvas-active .sppb-shape-divider,
body.offcanvas-open .sppb-shape-divider,
body.offcanvas-active .cookie-consent-overlay,
body.offcanvas-open .cookie-consent-overlay {
  pointer-events: none;
}

/* Keep the cookie bar clickable */
.cookiebar, .cookiebar * { pointer-events: auto; }

/* Prevent dropdowns in the menu from freezing on mobile */
.offcanvas .dropdown-menu { position: static; }
0
B
Bob
Accepted Answer
1 month ago #208477

Thanks for replying so quickly.

From my end, PC Browser like chrome, firefox, safari and also from iPhone I see all menu items is working for me too Ziaul.

I was unaware of any problem until lots of people suddenly started contacting me saying they were having new issues that they didn't before and then I asked colleagues to try and some it all worked for too but others said they could no longer select the menu items on their phones.

Some of them, the phones worked in firefox but not chrome or safari and some it didn't work on any but did in incognito or private browsing.

Some it didn't work in incognito either.

2 months ago I was running the latest versions of everything when we first were notified about it. Now I must check my Helix version but as I mentioned i haven't had chance to fully explore this again.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #208514

I understand your concern. However, it’s difficult to identify the issue since I haven’t been able to reproduce it on my end. If you encounter this problem again, please try to record it and share the video with us.

Thanks for your understanding.

0
B
Bob
Accepted Answer
1 month ago #208639

Thanks Jeanette ChatGPT is an ever increasing go to for help isn't it? I'm not sure how I feel about it still as I have always enjoyed talking to people and developers directly but it quickly accesses everything and seems to help a lot. My friend ChatGPT has come up with slightly different options for me to try but has overlap on your fix for sure.

It is telling me to try this first: Phase 1 — Get a stable baseline (no optimisers) Turn OFF all optimisation/deferral. Helix Ultimate → Advanced → Performance: turn OFF Move JS to bottom, Defer JS, and any CSS/JS combine/minify. Ensure Bootstrap loads exactly once. SP Page Builder → Integration/Advanced: set Load Bootstrap to Disabled/Use Template so Helix is the only source. Clear Joomla & template caches. Lock in the Off-canvas setting. Templates → Helix Ultimate → Template Options → Menu → Offcanvas: click a layout so it shows a blue border → Save. Test the menu on a real phone. If it now works 100%: the root cause was script order/duplication/deferral → proceed to Phase 4 to re-enable optimisation safely. If it still misbehaves: continue.

Add a tiny logger (copy-paste) Place this in Template Options → Custom Code → Before </body> (or in a small JS file that’s not deferred):

--script--

window.onerror = function (m,u,l,c,e){console.log("[ERR]",m,u+":"+l+":"+c,e&&e.stack);} window.onunhandledrejection = function(e){console.log("[PROMISE REJECTION]", e.reason);} document.addEventListener("DOMContentLoaded",function(){ var hasBS=!!window.bootstrap; console.log("[CHECK] bootstrap:", hasBS? "present":"MISSING"); try{console.log("[CHECK] Offcanvas:", hasBS && typeof bootstrap.Offcanvas);}catch(e){console.log("[CHECK] Offcanvas error",e);} var bs=Array.from(document.scripts).map(s=>s.src).filter(s=>/bootstrap(.bundle)?(.min)?.js/i.test(s)); console.log("[CHECK] bootstrap scripts:", bs.length, bs); var toggles=document.querySelectorAll('[data-bs-toggle="offcanvas"]'); toggles.forEach(function(el){ el.addEventListener("click", function(){ var sel=el.getAttribute("data-bs-target"); console.log("[CLICK] toggle ->", sel); if(window.bootstrap && sel){ var t=document.querySelector(sel); if(t){ var oc=bootstrap.Offcanvas.getOrCreateInstance(t); console.log("[CLICK] instance ok", !!oc); } } }, {passive:true}); }); });

--/script--

Interpretation: bootstrap: MISSING or Offcanvas: undefined/error → script order/duplicate Bootstrap/defer problem. bootstrap scripts: 2 (or more) → duplicate Bootstrap (often Helix + SP Page Builder or an optimiser). No errors and clicks log fine, but taps inside panel don’t work → overlay/z-index issue (try the CSS below).

Optional, scoped CSS overlay fix (only while panel is open)

Add to Custom CSS: .offcanvas { z-index: 1051; } .offcanvas-backdrop { z-index: 1050; } body.offcanvas-open .sp-overlay, body.offcanvas-open .sppb-shape-divider, body.offcanvas-open .cookie-consent-overlay { pointer-events: none !important; } body.offcanvas-open .cookiebar, body.offcanvas-open .cookiebar * { pointer-events: auto !important; } .offcanvas .dropdown-menu { position: static; }

If this makes taps inside the panel work, you had an overlay stacking issue. Keep it.

Optional safety net (if you must)

If you need a belt-and-braces initialiser, keep this small script (load it after Bootstrap, not deferred). It guarantees an Offcanvas instance exists on tap:

--script--

document.addEventListener('DOMContentLoaded', function(){ document.querySelectorAll('[data-bs-toggle="offcanvas"]').forEach(function(el){ el.addEventListener('click', function(){ var sel=el.getAttribute('data-bs-target'); if(!sel) return; var target=document.querySelector(sel); if(!target) return; bootstrap.Offcanvas.getOrCreateInstance(target).show(); }, {passive:true}); }); });

--/script--

I have contacted a few of our visitors who are experiencing the problem to ask if they can try things again and let me know.

Ziaul? Do you think ChatGPT is close to getting things right and could this be the issues we are having? I'm worried I don't know Helix and SPPB well but really need a fix for everyone for the menus that aren't working for some people.

0