MyBB Community Forums

Full Version: Top Menu - How to add this
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Morning...

I would like to try and add either

1. A backgoround to the menu so it looks somthing like this [Image: attachment.php?aid=895]

2. Make some buttons in that style and have them at the top

Any help would be great as im trying to make my style more like my mainwebsite will be like.
You can try to add this above all the toplinks code:

<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="left">
[color=red]BLAHBLAH BLAH YOUR CODE GOES HERE[/color]
</td>
</td>
</tr>
</tr>
</table>
</table>

It will produce something like this: http://mybb.rps-gamers.com/index.php

go all the way down the bottom and look at my copyright. Is that what you wanted?
not quite

sorry i didnt explain much, i would like to have buttons for my navigation at the top rather than just text

buttons for - Logout User CP Member List Search Help Calendar Home
Just take:

<li><a href="$settings[bburl]/member.php?action=login">$lang->toplinks_login</a></li>

and make it into

<li><a href="$settings[bburl]/member.php?action=login"><img src="$settings[bburl]/images/login.gif"></a></li>

Do that for all the ones you wish to have buttons for images. I'm assuming you have created the buttons already?
ok i've had a play but get this problem mate

Images to show what i mean:

okay as you can see from the picture when the hover is on its got a blue background thats BIG and also its saying Object -> and how do i remove the purple border Sad

Thanks for your help m8

Take the image part of the HTML such as this example:

<img src="$settings[bburl]/images/login.gif">

and replace it with this:

<img src="$settings[bburl]/images/login.gif" border=0>
ok cool thanks

it still says object next too it tho Sad

thanks again
can you post all of the code containing inside the "toplinks" template or all the other toplinks templates as well
<li><a href="$settings[bburl]/index.php">$lang-><img src="$settings[bburl]/images/Home.gif" border="0"></a></li>
</ul>
ok think i fixed it cory mate

the $lang- was making it say Object-> so i removed it and now it seems fine

Whats it the lang- for ? is it a varible?
Pages: 1 2