Voir la version complète : vBulletin 3.6.x Centrage du logo
J'ai bien lu les posts qui en parlent sur VB3, mais je n'arrive pas à centrer mon logo. Il reste tjrs à gauche ???
Alors dans le header:
Remplace les
<td align="$stylevar[left]"
et
<td align="$stylevar[right]"
par
<align="center">
ensuite juste avant ce code:
<if condition="$bbuserinfo[userid]">
ajoute la balise:
<center>
et, juste après ca:
border="0" vspace="8" /></a>
rajoute:
</center>
Je crois bien que c'est tout :)
Apparement ca marche pas
Je me permets de te mettre mon header :
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[center]">
<!--
NEW HEADER & NAVBAR
Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
Essaye ça
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[center]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
t'as bien mis center à la place de $stylevar[center] ?
Ca y est, comme c'est dimacnhe j'ai eu du mal a comprendre
Encore merci
Oui, curieusement, si $stylevar[left] et $stylevar[right] fonctionnent bien, $stylevar[center] n'est pas pris en compte.
vBulletin® v.3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd. Tous droits réservés - Version française vbulletin-fr.org