Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logo's
#1
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
Reply
#2
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
[Image: dmannw5.gif]
Reply
#3
just tested it works fine Wink
[Image: dmannw5.gif]
Reply
#4
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?
Reply
#5
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.
Reply
#6
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
Reply
#7
Ok a quick updateCool

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....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)