Posts: 35
Threads: 7
Joined: Apr 2007
Hi all,
Is there any way I can get 3 logos at the top??
1 left 1 center and 1 right aligned ?
If it is possible what code would i need and where does it go?
Still learning and the snippets of help you can find on google i am trying to find...
cheers
Posts: 207
Threads: 22
Joined: Sep 2006
lets say ur using default mybb theme:
1. Admin Cp
2. Templates
3. Modify
4. Mybb Default templates
5. header -> Edit original/expand
6. Find:
Code:
<div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div>
and replace with:
Code:
<left><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></left>
<center><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></center>
<right><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></right>
I haven't done this before but it should work
Posts: 207
Threads: 22
Joined: Sep 2006
just tested it works fine
Posts: 35
Threads: 7
Joined: Apr 2007
Great many thanks,
If the logo is not in the original theme directory, where would I put the url's to each of the 3 different logos.
and will they appear on the same line?
Posts: 620
Threads: 59
Joined: Feb 2006
If you want the logo image to be different for each logo, you change the $theme[logo] in each of them to the URL of the image.
If you want them all to be the same, go into your Admin CP -> Themes -> Modify / Delete -> * your theme * -> Edit Theme Style
And then change the "Forum Logo" to the new URL.
Posts: 35
Threads: 7
Joined: Apr 2007
04-12-2007, 12:42 PM
(This post was last modified: 04-12-2007, 02:01 PM by Pnut.)
Cheers Justin, that now works, but now they are showing on 3 different lines and not across the top in 1 single line.
Here is a link to the forums I am setting up for my missus, so you can see what I mean
http://scrapfairies.createmybb.com/
The first image (left) is fine, the second image (center) is in the right place but new row down and the third image (right) is another row down but left adjusted even though the code says right
Posts: 35
Threads: 7
Joined: Apr 2007
Ok a quick update
managed to get them all on on line now but cannot still for the life of me get the left and right image to justify both left and right....