Adminlte: Add dropdown menu for user into version adminlte 3 as in previous version adminlte2

Created on 18 Jul 2018  路  7Comments  路  Source: ColorlibHQ/AdminLTE

Environment:

  • AdminLTE Version: 3

Hi everyone,
Have a nice day,
I am wondering if you could add dropdwon menu for user beside notification dropdown menu as previous version

Most helpful comment

I was also wanting this user menu in AdminLTE version 3 and have managed to add it back. See screenshot below of what it looks like:

user-menu

I added this back by adding this HTML code after the notification icon:


All 7 comments

Hi @allaghi
I would like to work on this issue.
Can you elaborate the requirement, I couldn't understand about the requirement.

adminlte

Hi @shiri1248 , I have just download image of what I want . In previous version of Admin LTE, there was a dropdown menu for a user , include logout link.

I was also wanting this user menu in AdminLTE version 3 and have managed to add it back. See screenshot below of what it looks like:

user-menu

I added this back by adding this HTML code after the notification icon:


@BruceHill Thank you so much . It's perfect just I did some changes , I replaced this section of code
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown"> <img src="dist/img/user2-160x160.jpg" class="user-image img-circle elevation-2 alt="User Image"> <span class="hidden-xs">Alexander Pierce</span> </a>

with this
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown"> <img src="dist/img/user2-160x160.jpg" class="user-image img-circle elevation-2" alt="User Image"> <span class="d-none d-md-block float-right">Alexander Pierce</span> </a>

also I omit this section of code from css
@include media-breakpoint-up(sm) { float: none; margin-right: 0; margin-top: -8px; line-height: 10px; }

Hi Sirs, how to compile the AdminLTE 3's SASS file (_dropdown.scss)? Thank you in advance!

I've added the legacy menu into v3-dev, you can look over it here

Was this page helpful?
0 / 5 - 0 ratings