2021-09-16, 07:29 AM
(This post was last modified: 2021-09-16, 07:38 AM by BlueFoot. Edited 1 time in total.)
Hello everyone,
I am trying to remove the top bar completely and move everything into the nav bar instead by floating it to the right.
I have most of it working with a bit of digging, problem is the messages and logout button still remain when the user is logged out. I also can't figure out how I can move the login button with the nice popup overlay for logging in over when the user is logged out. Below is the pictures of both, and the code I have used to do this is also below.
Thanks!
Logged in: https://imgur.com/a/GlJvAIB
Logged Out: https://imgur.com/a/i4HSPkn
I am trying to remove the top bar completely and move everything into the nav bar instead by floating it to the right.
I have most of it working with a bit of digging, problem is the messages and logout button still remain when the user is logged out. I also can't figure out how I can move the login button with the nice popup overlay for logging in over when the user is logged out. Below is the pictures of both, and the code I have used to do this is also below.
Thanks!
Logged in: https://imgur.com/a/GlJvAIB
Logged Out: https://imgur.com/a/i4HSPkn
<div style="float: right">
{$usercplink}
{$myalerts_headericon}{$modcplink}
{$admincplink}
<li><a href="{$mybb->settings['bburl']}/private.php">Message ({$mybb->user['pms_unread']})</a></li>
<li><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}" class="logout">{$lang->welcome_logout}</a></span></li>
</div>