PDA

View Full Version : vB Header Help..



lick
02-08-2009, 07:42 PM
http://i29.tinypic.com/2myrzbp.jpg

Yeah its 1px off to the left for some reason... how do i fix it?

Jin
03-08-2009, 12:07 PM
prob would help if you post the source code so we can see what is happening. Otherwise only possible suggestions can be given rather than a fix.

lick
03-08-2009, 01:32 PM
<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.8.3 CSS
* Style: 'Default Style'; Style ID: 1
*/
body
{
background: #666666;
color: #000000;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background-image: url(images/Skins/37.gif);
background-repeat: repeat;
margin: 0px 0px 0px 0px;
padding: 0px;
}
a:link, body_alink
{
color: #000000;
}
a:visited, body_avisited
{
color: #000000;
}
a:hover, a:active, body_ahover
{
color: #330000;
}
.page
{
background: #FFFFFF;
color: #000000;
font-weight: bold;
background-image: url(images/Skins/body_bg_grass.pn);
background-repeat: repeat;

}
td, th, p, li
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tborder
{
background: #D1D1E1;
color: #000000;
border: 0px solid #0B198C;
}
.tcat
{
background: #999999;
color: #FFFFFF;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tcat a:link, .tcat_alink
{
color: #ffffff;
text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
color: #ffffff;
text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
color: #FFFF66;
text-decoration: underline;
}
.thead
{
background: #5C7099 url(images/gradients/gradient_thead.gif) repeat-x top left;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
background-repeat: repeat;
margin: 4px 8px 8px 8px;
padding: 0px;
}
.thead a:link, .thead_alink
{
color: #FFFFFF;
}
.thead a:visited, .thead_avisited
{
color: #FFFFFF;
}
.thead a:hover, .thead a:active, .thead_ahover
{
color: #FFFF00;
}
.tfoot
{
background: #3E5C92;
color: #E0E0F6;
background-image: url(images/Skins/Image5.png);
background-repeat: repeat;

Favourtism
03-08-2009, 04:47 PM
wow.

He didn't mean C+P the source code (although you only done the css bit anyway).

Paste the header template

lick
03-08-2009, 04:59 PM
lol i haven't got a clue tbh, the skin was done and all i wanted to do was replace the banner header thing but its messed up :S


<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

is that it :P?

Jack!
04-08-2009, 05:13 PM
Could be your banner is too big?

lick
04-08-2009, 06:19 PM
naa cause its 1 pix to the left... there is space for it to go across on the other side but it wont.

Jin
04-08-2009, 10:37 PM
Try for your header template.



<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

Snex
11-08-2009, 11:57 AM
Open up the header template:

Replace:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>

<!-- /logo -->

With:

<!-- logo -->
<a name="top"></a>
<div align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div>
<!-- /logo -->

Want to hide these adverts? Register an account for free!