MyBB Community Forums

Full Version: Logo will not show up!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So i have been using the trince theme for my new gaming forum in development and have come to realize that the logo will not show up no matter what! i make sure the path to the logo is right, images/trince/logo.png (logo.png is the name of it) and it just wont show up.. The only thing that will show up is the board name....

I tried editing the global.css by going to .logo and adding url(images/trince/logo.png) to background but it only shows a small sliver of the logo... My other themes all work fine, is this just a problem with the theme or what? really would appropriated any help. Undecided



http://thegamenetwork.net (Forum is offline, but look at the header, it is just text.. it will not let me put my logo lmao...)


ACP > Themes & Styles > YOUR THEME >

Scroll down a bit until you see some option like Logo Path:, add:

images/trince/logo.png

It should work then.
(2011-04-25, 08:49 AM)crazy4cs Wrote: [ -> ]ACP > Themes & Styles > YOUR THEME >

Scroll down a bit until you see some option like Logo Path:, add:

images/trince/logo.png

It should work then.

haha, i know about that, the whole problem is that this does not work...Sad
That theme doesn't have a logo by default, it's just text.
(2011-04-25, 09:32 PM)faviouz Wrote: [ -> ]That theme doesn't have a logo by default, it's just text.

Thank you! Finally getting somewhere, haha. Where and what do i need to add to make it have one?
1. Admin CP > Templates & Style > Templates > trince Templates > Header Templates > header.

2. Find:

<div class="logo" style="margin-left: 11px; padding-bottom: 2px;"><a href="{$mybb->settings['bburl']}/index.php"><div class="logo">{$mybb->settings['bbname']}</div></a></div>

3. Replace with:

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

4. Admin CP > Templates & Style > Themes > trince > global.css > Advanced Mode

5. Find and remove:

.logo {
font-family: Ubuntu;
font-weight: bold;
font-size: 36px;
color: #fff;
padding-top: 3px;
}

.logo a:link {
color: #fff;
text-decoration: none; 
}

.logo a:visited {
color: #fff;
text-decoration: none; 
}

.logo a:hover, .logo a:active {
color: #fff;
text-decoration: none; 
}

6. Admin CP > Templates & Style > Themes > trince > Board Logo.

7. Enter the location of your board's logo (e.g. images/trince/verynicelogo.png)
ACP >> Templates & Style >> Templates >> yourtheme >> Header Templates >> header

Find:
<div class="logo" style="margin-left: 11px; padding-bottom: 2px;"><a href="{$mybb->settings['bburl']}/index.php"><div class="logo">{$mybb->settings['bbname']}</div></a></div>

Replace with:
<div class="logo" style="margin-left: 11px; padding-bottom: 2px;"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
Worked like a charm! Thank you both very, very much! Cool
The logo included was a logo that was going to be on the theme, but it didn't look very nice, that is why it is using text instead for easy customization without asking for PSD hence I use Gimp for most of my things or my friend who designs most of our things also uses Gimp so xcf would have been the only option.