MyBB Community Forums

Full Version: I need to add a logo/clickable link in header...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there,

I just created a MyBB Forum, and under the header logo I would like to add a long thin picture saying "Click here - blah, blah, blah..."
I would like this centered as the title header logo was set in the upper left corner because I didnt know how to center that either.

So anyways, this is going to be a clickable picture.
The pic size is 528x39.

Is this even possible?
Thank You.
I seriously need help.
If anyone has any tips at all, please Post here.

I truly haven't a clue about how to alter the header at all,
and I need a slim picture I created to be placed up in the header, and for it to be clickable.

Anyone?
Bump - Anyone???
Go to the MyBB Admin Cpanel and then go to templates under templats & styles and then put this code in the top:


<a href="LINK URL HERE">
<img src="IMAGE URL HERE" alt="YOUR FORUM NAME HERE" />
You can use a div under your logo's div (in header template):

<div style="text-align: center;"><a href="the url"><img src="image url" alt="" title="" /></a></div>

To center your logo, there are so many method to do this. Here is an example:

<div class="logo" style="text-align: center;"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
To center the default logo, find at the Header templates-header the following code:

<div class="logo" ><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

and replace it with:

<div class="logo" style="margin:0 auto;text-align:center"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

Whereas about the second link, where exactly do you want to place it? A screenshot would be useful.