MyBB Community Forums

Full Version: Need help with logo and usecp
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!
I just want to start off by saying that i'm new to coding in general.
I do have the basic understandings tho.

My problem is:
I replaced the logo.png with another image. The logo is aligned "right" by default. The user CP is also placed on the same hight as the logo.
What i want to do, is to stretch the logo to fill the whole "box" (see image), and put the user CP on top of this, aligned left. Also would like to scale the user cp down a bit.

[Image: 2mfafir.jpg]

	<!-- begin logo -->
	<div id="logo">
		<a href="{$mybb->settings['bburl']}/"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" class="logo" /></a>
		<a name="top" id="top"></a>
		<div id="panel">
			<div id="panelcontent">{$welcomeblock}</div>
		</div>
	</div>
	<!-- end logo -->
I would try making this modification:

<div id="panel" class="float_right">
            <div id="panelcontent">{$welcomeblock}</div>
        </div>

and seeing what happens.
Didn't work ;s
hi


    <!-- begin logo -->
    <div id="logo">

        <a name="top" id="top"></a>
        <div id="panel">
            <div id="panelcontent">
        <a href="{$mybb->settings['bburl']}/"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" class="logo" /></a>
{$welcomeblock}</div>
        </div>
    </div>
    <!-- end logo -->
this should work if not show source code of all Header Template