vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




custom template

hollyboy
03-12-2005, 02:52 PM
Talking about this page here http://www.interfans.org/forum/albo.php
How do I change the background?
Here is the code of the template:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title>$vbphrase[x_powered_by_vbulletin]
<style type="text/css">
<!--
.top {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-top-color: #000000;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
}
.all {
border: 1px solid #000000;
background-color: #FFFFFF;
}
-->
</style>

$headinclude </head> $header $navbar
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[cellspacing]" class="all">
<thead>
<tr align="center">
<td align="left" valign="top" class="thead">
<div align="left">
<div align="left">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="tcat">Albo d'oro Interfans
</tr>
<tr>
<td>

<b>Campionati Interfans



Campionati Interfans<br>


Maggio 2004: Nene (secondo classificata: Keitaro)<br>
Maggio 2003: Interfan (seconda classificata: Desdemona)<br>
__________________________________________________ ______________<br>


Coppe Interfans<br>


Maggio 2004: Coppa Betandwin: Teufel (seconda classificata: Perlaneroazzurra)<br>
Maggio 2004: Coppa Betandwin: Martin_Fly (secondo classificato: Kewell)<br>
Maggio 2003: Super coppa interfans: Gianluca83 (finalista: Interfan)<br>
Aprile 2003: Coppa Interfans2: Vasco79 (finalista: Spicca)<br>
Aprile 2003: Intercoins cup: Gianluca83 (secondo classificato: Teufel, Federiconet)<br>
Febbraio 2003: Coppa Interfan: Interfan (finalista: Cumasc)<br>
__________________________________________________ ______________<br>


<b>Interfan e moderatore del mese




MARZO 2004<br>
IFDM: Desdemona e Julianna ax-aequo<br>
MOD: CZanettina81<br>


APRILE 2004<br>
IFDM: perlanerazzurra<br>
MOD: Tritolo siciliano<br>


MAGGIO 2004<br>
IFDM: Drizzt<br>
MOD: 4JZanetti<br>


GIUGNO 2004<br>
IFDM: schutz<br>
MOD: NENE<br>

LUGLIO 2004<br>
IFDM: alemaggia<br>
MOD: Vasco79<br>


AGOSTO 2004<br>
IFDM: schutz<br>
MOD: Tritolo siciliano<br>


SETTEMBRE 2004<br>
IFDM: girlultra<br>
MOD: Desdemona<br>


OTTOBRE 2004<br>
IFDM: imperatore<br>
MOD: schutz<br>


NOVEMBRE 2004<br>
IFDM: bobogol<br>
MOD: Desdemona<br>


DICEMBRE 2004<br>
IFDM: riscatto<br>
MOD: Tritolo siciliano<br>


GENNAIO 2005<br>
IFDM: chiari<br>
MOD: schutz<br>


FEBBRAIO 2005<br>
IFDM: max4cap<br>
MOD: Desdemona<br>



</td>
</tr>
</table>
<font size="2">
<if condition="$vboptions[showmoderatorcolumn]">
</thead>
$forumbits
<tbody>
</tbody>
</table>
$footer
</body>
</html>

Joeychgo
03-12-2005, 02:59 PM
the change wont likely be in a template but in the CSS

GO to Admin CP -- Styles & templates -- Style Manager then, on the right, click GO.

Now look at

Body
Page Background
First Alternating Color
Second Alternating Color

Its likely to be controlled by one of these.

hollyboy
03-12-2005, 03:01 PM
but I want the bg to be like this other page of my board: http://www.interfans.org/forum/faq.php?faq=vb_user_maintain#faq_vb_why_register

I dont want to change the color in the css, if I do all the pages will change

noppid
03-12-2005, 03:56 PM
Put your custom CSS after the $headinclude. That should do it. Your's should load second then and superceed the vB CSS. (I think)

hollyboy
03-12-2005, 04:37 PM
Put your custom CSS after the $headinclude. That should do it. Your's should load second then and superceed the vB CSS. (I think)
how?

noppid
03-12-2005, 10:30 PM
how?


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title>$vbphrase[x_powered_by_vbulletin]</title>

$headinclude

<style type="text/css">
<!--
.top {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-top-color: #000000;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
}
.all {
border: 1px solid #000000;
background-color: #FFFFFF;
}

-->
</style>

</head>
$header
$navbar
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[cellspacing]" class="all">
<thead>
<tr align="center">
<td align="left" valign="top" class="thead">
<div align="left">
<div align="left">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="tcat">Albo d'oro Interfans</td>
</tr>
<tr>
<td>

<b>Campionati Interfans



Campionati Interfans<br>


Maggio 2004: Nene (secondo classificata: Keitaro)<br>
Maggio 2003: Interfan (seconda classificata: Desdemona)<br>
__________________________________________________ ______________<br>


Coppe Interfans<br>


Maggio 2004: Coppa Betandwin: Teufel (seconda classificata: Perlaneroazzurra)<br>
Maggio 2004: Coppa Betandwin: Martin_Fly (secondo classificato: Kewell)<br>
Maggio 2003: Super coppa interfans: Gianluca83 (finalista: Interfan)<br>
Aprile 2003: Coppa Interfans2: Vasco79 (finalista: Spicca)<br>
Aprile 2003: Intercoins cup: Gianluca83 (secondo classificato: Teufel, Federiconet)<br>
Febbraio 2003: Coppa Interfan: Interfan (finalista: Cumasc)<br>
__________________________________________________ ______________<br>


<b>Interfan e moderatore del mese




MARZO 2004<br>
IFDM: Desdemona e Julianna ax-aequo<br>
MOD: CZanettina81<br>


APRILE 2004<br>
IFDM: perlanerazzurra<br>
MOD: Tritolo siciliano<br>


MAGGIO 2004<br>
IFDM: Drizzt<br>
MOD: 4JZanetti<br>


GIUGNO 2004<br>
IFDM: schutz<br>
MOD: NENE<br>

LUGLIO 2004<br>
IFDM: alemaggia<br>
MOD: Vasco79<br>


AGOSTO 2004<br>
IFDM: schutz<br>
MOD: Tritolo siciliano<br>


SETTEMBRE 2004<br>
IFDM: girlultra<br>
MOD: Desdemona<br>


OTTOBRE 2004<br>
IFDM: imperatore<br>
MOD: schutz<br>


NOVEMBRE 2004<br>
IFDM: bobogol<br>
MOD: Desdemona<br>


DICEMBRE 2004<br>
IFDM: riscatto<br>
MOD: Tritolo siciliano<br>


GENNAIO 2005<br>
IFDM: chiari<br>
MOD: schutz<br>


FEBBRAIO 2005<br>
IFDM: max4cap<br>
MOD: Desdemona<br>



</td>
</tr>
</table>
$footer
</body>
</html>


Try that. All your breaks should be <br />
I fixed several tags too.

hollyboy
03-13-2005, 12:43 AM
http://www.interfans.org/forum/albo.php

looks still with blue bg

noppid
03-13-2005, 03:44 AM
http://www.interfans.org/forum/albo.php

looks still with blue bg

To be honest, I didn't think it would. But a few changes to the CSS can make it fly. Aint got time now, but the CSS is the issue. ( I think )

theMusicMan
03-13-2005, 05:31 AM
Yup, noppid is spot on there. Check the CSS elements for the background colour in the style you have selected. That's where this is set.

hollyboy
03-13-2005, 07:04 AM
I changed the class to "alt2" and it worked :)


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum