Page 1 of 1

The Header

Posted: Mon Feb 01, 2010 3:54 pm
by Icekold
I have some really nice header logos for my site is there a way to make the logo space cover the entire header of the board ? I know Rusty is busy , so I thought I would ask this. to give you an idea of the size I'm asking about I'll include the header logo.


Infamouz Logo #2

Image


I appreciate any help you can give me.

Re: The Header

Posted: Mon Feb 01, 2010 7:18 pm
by spaceace
putting that image in the header is no problem. i'm assuming this is for my style. as far as it covering the whole header, unless you have the forum set to a fixed width, it won't do that. but anyway, to place it in the header, do the following

upload your image Infamouz2Flat.jpg to /imageset/Infamouz2Flat.jpg

open /imageset/imageset.cfg
find
Code: Select all
img_site_logo = site_logo.png*178*295
replace with
Code: Select all
img_site_logo = Infamouz2Flat.jpg*142*638
open /template/overall_header.html
find
Code: Select all
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
replace with
Code: Select all
				<p class="centerlogo"><a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a></p>
open /theme/common.css
find
Code: Select all
#site-description {
	float: left;
	width: 70%;
}
replace with
Code: Select all
#site-description {
/*	float: left; */
/*	width: 70%; */
}

.centerlogo {
	text-align:center;
	margin-top:0px;
	margin-bottom:0px;
	padding:0px;
}
find
Code: Select all
#logo {
	float: left;
	width: auto;
	padding: 0 13px 0 10px;
}
replace with
Code: Select all
#logo {
	width: auto;
	padding: 0 13px 0 10px;
}
refresh your style theme, imageset, and templates in the ACP and that should do it. it won't cover the whole header, but it will put it in the center of the header.

Re: The Header

Posted: Fri Dec 17, 2010 10:08 pm
by itsallaboutmusic
Works perfect :)