MyBB Community Forums

Full Version: How can I achieve this look?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: dc9bxLA.png]

I found this image on here and it's exactly what I'm trying to achieve on my design. I wanna put the Welcome back member bar on the top, and leave the lower bar at the bottom. How can I do this? I've been trying on my own but I just can't seem to get it  Huh
You could try playing with the Header.

Templates > Your Theme > Header Templates > Header.

Try moving:

{$welcomeblock}

I would keep a backup of the template before trying.
(2017-10-17, 09:17 AM)sarisisop Wrote: [ -> ]You could try playing with the Header.

Templates > Your Theme > Header Templates > Header.

Try moving:

{$welcomeblock}

I would keep a backup of the template before trying.

Moving that didn't work, unfortunately, it just seemed to ruin the design entirely lol. Maybe there's more needed to be moved?
You would have edit the css coding for the header or headinclude and than do additional edits to the index template in order to see it correctly.

Sorry if i'm not more help lol.
(2017-10-17, 07:16 AM)Kioshi Wrote: [ -> ][Image: dc9bxLA.png]

I found this image on here and it's exactly what I'm trying to achieve on my design. I wanna put the Welcome back member bar on the top, and leave the lower bar at the bottom. How can I do this? I've been trying on my own but I just can't seem to get it  Huh

easy
assuming that you are using the MYBB default theme with no edits
go to header template and replace all with this:
<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
						<div id="panel">
				<div class="upper">
					<div class="wrapper">
						{$quicksearch}
						{$welcomeblock}
			<div id="logo">
				<div class="wrapper">
					<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
					<ul class="menu top_links">
						{$menu_portal}
						{$menu_search}
						{$menu_memberlist}
						{$menu_calendar}
						<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
					</ul>
				</div>
			</div>
<div class="lower">
	<div class="wrapper">
		<ul class="menu panel_links">
			{$usercplink}
			{$modcplink}
			{$admincplink}
		</ul>
		<ul class="menu user_links">
			<li><a href="javascript:void(0)" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup&modal=1', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>
			{$searchlink}
			{$pmslink}
		</ul>
	</div>
	<br class="clear" />
</div>
					<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
				<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
			</div>
		</div>
		<div id="content">
			<div class="wrapper">
				{$pm_notice}
				{$remote_avatar_notice}
				{$bannedwarning}
				{$bbclosedwarning}
				{$unreadreports}
				{$pending_joinrequests}
				{$awaitingusers}
				<navigation>
				<br />



second:
go to  header_welcomeblock_member and replace it by this:
<!-- Continuation of div(class="upper") as opened in the header template -->
	<span class="welcome">{$lang->welcome_back} <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="logout">{$lang->welcome_logout}</a></span>
	</div>
</div>