MyBB Central
mybb header image - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Mybb 1.6x Series Topics (http://www.mybbcentral.com/forum-34.html)
+--- Forum: Mybb 1.6x Theme and Template Releases (http://www.mybbcentral.com/forum-36.html)
+--- Thread: mybb header image (/thread-8187.html)



mybb header image - ali_tavanaie - Feb 13, 2012

Hi
I have read this topic and it was helpful:
http://www.mybbcentral.com/thread-4306.html?highlight=header+image
but now it is closed and i started new topic
i want to change my header image and color,i've used this tutorial but the problem is that :
- i see twin images.
- i want to my logo be stretched , i've used "background-size: 100%;" but is wasn't working.


RE: mybb header image - Starnova - Jun 17, 2012

Code:
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="Your_Banner.jpg" width=100% height=220 alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

admin.cp/Themes and Style/ Templates/your_template
Edit your template
header Templates/Header

find and replace the code below with the above code: Smile

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



RE: mybb header image - malkova - Oct 31, 2016

found what he was looking only here, thanks!


RE: mybb header image - Farrahs - Jul 03, 2017

How nice! userful information
192.168.1.1