Allan
30/12/2009, 14h31
Ce tutoriel permet de modifier l'apparence de vos forums et sous forums, pour qu'il s'affiche en en 2 colonnes.
Lynne (http://www.vbulletin.org/forum/member.php?u=65230) est l'auteur de ce Tutoriel (http://www.vbulletin.org/forum/showthread.php?t=228112).
Remerciements
Ce tutoriel a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur que nous remercions.
Version vBulletin Requise : vB 4.x
Traducteur : Sunray (http://www.vbulletin-ressources.com/forum/member.php?u=8678)
Copyright © 2006-2009 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions
Instructions
Ajouter ce contenu à la fin du template "forumbits.css":
.forumhead + .childforum .L2:first-child .forumrow, .forumhead + .L2 .forumrow {
border-top: 0;
}
.forumrow .table {
height: 100px;
}
ol.childforum {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.childforum li.forumbit_post {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
}
#forums .L1 .L2 {
clear:none;
}
.forumbit_post .forumrow .forumlastpost {
clear:both;
width:95%;
}
.forumbit_post .forumlastpost .lastpostby {
display: block;
float: left;
}
.forumbit_post .forumlastpost .lastpostdate {
display: block;
float: right;
}
.forumbit_post .forumlastpost .lastposttitle {
display: block;
float: left;
}
.forumbit_post .foruminfo {
clear:right;
float:left;
min-width:50%;
width:70%;
}
.forumbit_post .forumstats, .forumbit_post .forumstats_2 {
width:20%;
}
Dans le même template, ajouter ce contenu (cela permet de mettre vos sous forums en une disposition 2 colonnes):
.subforums ol.subforumlist {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.subforumlist li.subforum {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
}
/* to remove the commas */
.commalist li.subforum:after {
content:"";
}
PS: Pour mettre, par exemple, les forums sur 3 colonnes, éditer le 50% en 33%, dans la class:
.childforum li.forumbit_post {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
Lynne (http://www.vbulletin.org/forum/member.php?u=65230) est l'auteur de ce Tutoriel (http://www.vbulletin.org/forum/showthread.php?t=228112).
Remerciements
Ce tutoriel a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur que nous remercions.
Version vBulletin Requise : vB 4.x
Traducteur : Sunray (http://www.vbulletin-ressources.com/forum/member.php?u=8678)
Copyright © 2006-2009 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions
Instructions
Ajouter ce contenu à la fin du template "forumbits.css":
.forumhead + .childforum .L2:first-child .forumrow, .forumhead + .L2 .forumrow {
border-top: 0;
}
.forumrow .table {
height: 100px;
}
ol.childforum {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.childforum li.forumbit_post {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
}
#forums .L1 .L2 {
clear:none;
}
.forumbit_post .forumrow .forumlastpost {
clear:both;
width:95%;
}
.forumbit_post .forumlastpost .lastpostby {
display: block;
float: left;
}
.forumbit_post .forumlastpost .lastpostdate {
display: block;
float: right;
}
.forumbit_post .forumlastpost .lastposttitle {
display: block;
float: left;
}
.forumbit_post .foruminfo {
clear:right;
float:left;
min-width:50%;
width:70%;
}
.forumbit_post .forumstats, .forumbit_post .forumstats_2 {
width:20%;
}
Dans le même template, ajouter ce contenu (cela permet de mettre vos sous forums en une disposition 2 colonnes):
.subforums ol.subforumlist {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.subforumlist li.subforum {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
}
/* to remove the commas */
.commalist li.subforum:after {
content:"";
}
PS: Pour mettre, par exemple, les forums sur 3 colonnes, éditer le 50% en 33%, dans la class:
.childforum li.forumbit_post {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;