Avatar of Melody Scott
Melody Scott
Flag for United States of America asked on

Drop Down not working in mobile- Bootstrap

www dot mostlydesserts.com  - 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?
Web DevelopmentCSSBootstrap

Avatar of undefined
Last Comment
James Rodgers

8/22/2022 - Mon
James Rodgers

you have at least one js not loading,
GET http://www.mostlydesserts.com/owl-carousel/owl.carousel.js 404 (Not Found)

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

ASKER
Thanks for that! That was something I missed. However, I uploaded it, and the drop down still is not working in mobile.
James Rodgers

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

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

do you still have the same issue?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Melody Scott

ASKER
Yes, it looks like I still have the same issue. www.mostlydesserts.com/about.html - My own sanity check.. I am seeing this in mobile testers like Chrome developer and http://mobiletest.me. I don't actually have a smart phone with me... are you able to check it on an actual phone?
James Rodgers

tried it on an android, closes the menu as soon as i hit products, does not expand
James Rodgers

i still see the link as an href, make it just plain text
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Melody Scott

ASKER
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.
Melody Scott

ASKER
Ok, did that, and it looked like this, so I changed it back.

Capture.JPG
James Rodgers

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
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Melody Scott

ASKER
oh, ok. I put it on a test page - go to /test.html on that site. Thanks.
ASKER CERTIFIED SOLUTION
James Rodgers

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Melody Scott

ASKER
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....
Melody Scott

ASKER
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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
James Rodgers

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