MyBB Community Forums
Replace header with a full custom image - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Replace header with a full custom image (/thread-205716.html)



Replace header with a full custom image - BoxThisLap - 2016-11-08

Could someone please tell me how to remove the grey area and have this custom image the full width please 

http://www.buschfinks.com/forums/

i would also like to know how to change the navigation menu ie text color and what they say and point to 


Thanks in advance


RE: Replace header with a full custom image - YOL Host - 2016-11-08

Go to admin control panel
Click Templates and style
click your theme template
click header Templates
click header

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

Replace
 <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}"width="100%" height="auto" /></a>

next step

go to theme sytles
and
find
#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}

Replace
#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: 10px 5px 0 0;
}


after this your site look like as

[Image: image.png]


RE: Replace header with a full custom image - BoxThisLap - 2016-11-08

Thanks

That certainly does look a whole lot better


But quick question

Is it not possible to fill the entire area with this logo so the grey cannot be seen ?


Regards


RE: Replace header with a full custom image - .m. - 2016-11-08

^ in the header template of the theme you can replace
<div id="logo">
<div class="wrapper">
with
<div id="logo">
<div class="wrapper_header">

and that should result more width for the logo image


RE: Replace header with a full custom image - BoxThisLap - 2016-11-08

Awesome Thanks to the both of you