2020-01-05, 01:05 PM
Hi there,
I've got a problem with my dropdown menu - it's always open when i open the website.
You can close it, but i'd want it to be closed as a start when you open the website
Current code for the menu:
Any help is appreciated
Anyone?
I've got a problem with my dropdown menu - it's always open when i open the website.
You can close it, but i'd want it to be closed as a start when you open the website
Current code for the menu:
<a class="d-flex align-items-center dropdown-activate">
<img src="{$mybb->user['avatar']}" width="25" height="25" style="border-radius: 2px; margin-right: .5rem" id="user_avatar" onerror="this.src='images/default_avatar.png';">
{$mybb->user['username']} <i class="fas fa-angle-down"></i>
</a>
</li>
<div class="dropdown">
<div class="dropdown-content">
<div class="arrow-up"></div>
<div class="tborder">
<divclass=display:block !important;">
<a href="member.php?action=profile">
<div class="trow1 grey"><i class="fa fa-user"></i> Profile</div>
</a>
<a href="search.php?action=finduser&uid={$mybb->user['uid']}">
<div class="trow2 grey"><i class="fas fa-comments"></i> My Posts</div>
</a>
<a href="search.php?action=finduserthreads&uid={$mybb->user['uid']}">
<div class="trow1 grey"><i class="fas fa-book"></i> My Threads</div>
</a>
{$usercplink}
{$modcplink}
{$admincplink}
<a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}">
<div class="trow1 grey"><i class="fas fa-sign-out-alt"></i> Logout</div>
Any help is appreciated
Anyone?