Dropdown menu

kemonicodes22
New Member
2 0 1
Hey, guys, so my dropdown menu was working, and I'm not sure what I did to make it not open anymore! It's showing all of the correct links from the liquid links code, but the freakin menu just isn't dropping down anymore!
 
Thank you in advance for the help!
 
 
<section class="menu">
<div class="nav navbar navbar-expand-sm navbar-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
 
<div class="collapse navbar-collapse" id="navbarNav">
<ul>
{% for link in linklists[section.settings.main_linklist].links %}
{% if link.links == blank and link.title != 'cart (0)' and link.title != '$ usd' and link.title != 'login' %}
<li class="nav-item active">
<a class="nav-link" href={{link.url}}>{{link.title}}
</a>
</li>
{% endif %}
 
<span class="right">
{% if link.links == blank and link.title contains 'cart' %}
<li class="nav-item active">
<a class="nav-link" href={{link.url}}>{{link.title}}
</a>
</li>
{% endif %}
</span>
 
<span class="right-1">
{% if link.links == blank and link.title contains 'usd' %}
<li class="nav-item active">
<a class="nav-link" href={{link.url}}>{{link.title}}
</a>
</li>
{% endif %}
</span>
 
<span class="right-2">
{% if link.links == blank and link.title contains 'log' %}
<li class="nav-item active">
<a class="nav-link" href={{link.url}}>{{link.title}}
</a>
</li>
{% endif %}
</span>
 
{% if link.links != blank %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
menu
</a>
<div class="dropdown-menu full-width" aria-labelledby="navbarDropdown">
<div class="row">
{% for childlink in link.links %}
<div class="col">
<div class="dropdown-header">{{childlink.title}}</div>
{% for sublink in childlink.links %}
<a id="dropdown-item" href={{sublink.url}}>{{sublink.title}}</a>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</li>
{% endif %}
{% endfor %}
<span class="logo">
<li>
<a class="nav-link" href="/">
SERÁ
</a>
</li>
</span>
</ul>
</div>
</div>
</section>
0 Likes
AlexHodzitsky
Shopify Partner
61 15 16

Hi, !

You did not provide enough information to be able to help you. The problem can be anything in your case, for example an error in the console or incorrect styles. Could you provide a preview link to your theme in which your dropdown stopped working?

I didn't choose the Shopify, the Shopify chose me.
kemonicodes22
New Member
2 0 1

Hi Alex! Thank you for the quick help! I have figured it out, and I accidentally deleted a bootstrap script tag! lol, thank you again!