MyBB Community Forums

Full Version: How can I change the logo size in my theme?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I have Red Flame theme on my forum http://www.salmanmania.com/forum/

I need to find out how I can change the logo size? I want it to spread across the whole template header and be wider.
You can expand its width using any photo editing software like photoshop.
GO to Admin CP.
Click in "Themes & Templates" Tab
Click to your theme name
In Edit Stylesheet.
Take header Id/class (Id=#header , Class= .header) Whatever it is,
Put this tag.
"width=xxx" (x= Your number -> 1024 is generall fit screen width number)
"height=xxx" (x=your number -> till whatever height you want put it.)

If you do this in Advance style sheet.

do not forget to put semi-colon in end ";"



No I can't. I think the width and height allowed for the logo has been locked in the coding because I tried to upload a bigger size logo and it only showed the image that is of the current logo's size. So I need to know where exactly do I need to change the coding in the theme.
Have you tried editing your stylesheets.
I will now, the other reply was for Yaldaram.

Thanks. I'll post it here if it works or not.
sure..
If you can give screen shots of your stylesheets I may help you in better manner too.
As I will come to know the code and will guide you what need to do.
This is the code from the theme header. Can you please guide me as to where I should put those values?

<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="logo">
<div class="wrapper">
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
</div>
</div>
<div id="panel">
<div class="upper"><!-- This div(class="upper") is closed in the header_welcomeblock_member and header_welcomeblock_guest templates -->
<div class="wrapper">
<ul class="menu top_links">
<li><a href="{$mybb->settings['bburl']}/search.php" class="search">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php" class="memberlist">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>
</ul>
{$welcomeblock}
</div>
</div>
<div id="content">
<div class="wrapper">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
yes now its easy.
Select your logo option in Edit stylesheet option and do the above option as i said for width and height. It will work 100%.

Reply here with your result. for any problem/help.
Can you please tell me where exactly I need to put in the width and height code in the coding that I copied? I am not very good at this and there are too many Id and Class tags in there which is confusing.
Pages: 1 2 3 4