Link to home
Start Free TrialLog in
Avatar of Melody Scott
Melody ScottFlag for United States of America

asked on

Drop Down not working in mobile- Bootstrap

www dot  - on this site, if you click on Products in mobile, the drop down doesn't appear. I'm not sure what I've done wrong, I've checked it against the bootstrap information.

It probably is another part of the navigation blocking it, but I haven't been able to figure that out yet, can you help?
Avatar of James Rodgers
James Rodgers
Flag of Canada image

you have at least one js not loading,
GET 404 (Not Found)

which causes a js error, js errors can cause all subsequent js to not work
Avatar of Melody Scott


Thanks for that! That was something I missed. However, I uploaded it, and the drop down still is not working in mobile.
sanity check, change "Products" from a href to jut plain text

i.e.: change

<a class="dropdown-toggle" data-toggle="dropdown" href="#">Products
        <span class="caret"></span></a>
to just

        <span class="caret"></span>

do you still have the same issue?
Yes, it looks like I still have the same issue. - My own sanity check.. I am seeing this in mobile testers like Chrome developer and I don't actually have a smart phone with me... are you able to check it on an actual phone?
tried it on an android, closes the menu as soon as i hit products, does not expand
i still see the link as an href, make it just plain text
I'm sorry, you're right, I thought I'd done it, but I uploaded it to the wrong directory. It should be good now, I'll check to see if it helped.
Ok, did that, and it looked like this, so I changed it back.

User generated image
its not the look, i needed to test the functionality, there is code affecting ul li a instances, I wanted to check if that is what is causing the issue, some cSs can make the text look right while testing
oh, ok. I put it on a test page - go to /test.html on that site. Thanks.
Avatar of James Rodgers
James Rodgers
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, Thanks, I'll work with that and see what I can do. Appreciate it! I'll leave this open, I may have another question....
That was it, thanks so much! If I comment that out, the problem goes away. It doesn't seem to cause any new problems that I can find.
yea, looks kind of strange, should all be handled by css

FYI, the submenu text is a little hard to see on my screen, a little dark compared to the background