Le Deal du moment : -34%
Smartphone 6,67 POCO M6 Pro – Ecran 120 Hz ( ...
Voir le deal
152 €

Problème code catégorie

Problème code catégorie Empty Mar 20 Juin - 20:58
Bonsoir,

Avec des amis nous sommes en train de créer un forum et je suis en charge du design. Cependant, n'ayant pas une once de connaissance en terme de codage, et étant tombée sous le charme de vos créations, je me suis permise de piocher dans vos codes en libre service.

Mais vous vous doutez bien, j'ai un petit soucis avec l'un de vos codes. (par ailleurs je suis désolée si vous avez déjà résolu un soucis du même genre...) les sous-forums n'apparaissent pas sur les catégories aux endroits prévus à cet effet...

http://forumtestdelilix.forumactif.com/

Voici le template ainsi que le CSS correspondant. Je suppose que j'ai dû louper une étape ou autre chose mais comme je ne m'y connais pas je me permet de vous demander de l'aide ^^

Code:
/* BLOC TITRE CATEGORIE */
.tleCAT{
margin:10px auto;
width:800px; padding:10px 0; text-align:center;
background:#191919; /* MODIFIABLE */
}
/* TITRE CATEGORIE */
.tleCAT h2{
margin:0 auto;
font-size:42px; text-transform:uppercase; letter-spacing:3px; /* MODIFIABLE */
font-family:Arial; color:white; text-shadow:1px 1px 0px rgba(0,0,0,0.3); /* MODIFIABLE */
}
/* BLOC FORUM */
#blocFRM{
width:800px; height:165px; text-align:center; overflow:hidden;
margin:auto;
}
.blocFRM{
position:relative; width:800px; height:165px; overflow:hidden;
font-family:Arial; /* MODIFIABLE */
}
/* BLOC TITRE FORUM */
.tleFRM {
display:inline-block; height:20px; width:485px; padding:10px 5px 10px 10px; overflow:hidden;
font-size:16px; font-weight:bold; text-transform:uppercase; text-align:left;
background:#CECCDE; /* MODIFIABLE */
}
/* TITRE FORUM */
.tleFRM a{
font-family:Arial; color:white !important; text-shadow:1px 1px 0px rgba(0,0,0,0.2); /* MODIFIABLE */
}
/* TRIANGLE TITRE FORUM */
.triLFRM {
position:absolute; z-index:3; margin-left:490px; margin-top:-40px;
width:0; height:0; border-style:solid; border-width:40px 20px 0 0; border-color:transparent;
border-top-color:#CECCDE; /* MODIFIABLE */
}
/* ICÔNES FORUM */
.imgFRM{
position:absolute; margin-left:-10px;
width:50px; height:40px;
}
/* TRIANGLE NOMBRE SUJETS & MESSAGES FORUM */
.triRFRM {
position:absolute; z-index:3; margin-left:520px; margin-top:-40px;
width:0; height:0; border-style:solid; border-width:0 0 40px 20px; border-color:transparent;
border-bottom-color:#F1F0F4; /* MODIFIABLE */
}
/* NOMBRE SUJETS & MESSAGES FORUM */
.nbFRM{
display:inline-block; vertical-align:top;
height:20px; width:290px; padding:13px 5px 7px 5px; overflow:hidden;
text-align:center; font-size:11px; text-transform:uppercase;
background:#F1F0F4; color:rgba(0,0,0,0.5); /* MODIFIABLE */
}
/* BLOC SOUS-FORUMS / DESCRIPTION / DERNIER MESSAGE */
#dtlFRM {
width:800px; height:125px;
}
/* SOUS-FORUMS */
.sfFRM {
display:inline-block; vertical-align:top;
width:205px; height:115px; padding:5px 125px 5px 5px; overflow-y:auto;
font-size:10px; text-transform:uppercase; text-align:left;
background:#EAE3F4; /* MODIFIABLE */
}
/* LIENS SOUS-FORUMS */
.sfFRM a{
color:#191919 !important; /* MODIFIABLE */
}
/* TRIANGLE DESCRIPTION FORUM */
.triFRM {
position:absolute; z-index:3; margin-top:-125px; margin-left:230px;
width:0; height:0; border-style:solid; border-width:0 0 125px 105px; border-color:transparent;
border-bottom-color:#DEDEDE; /* MODIFIABLE */
}
/* DESCRIPTION FORUM */
.descFRM {
display:inline-block; vertical-align:top;
width:305px; height:115px; padding:5px; overflow:auto;
background:#DEDEDE; color:black; /* MODIFIABLE */
font-size:11px; text-align:justify;
}
/* IMAGE DESCRIPTIVE FORUM */
.descFRM img {
position:absolute; z-index:2; margin-top:-5px; margin-left:-340px;
width:335px; height:125px;
transition:all .65s linear; -webkit-transition:all .65s linear;
}
#dtlFRM:hover .descFRM img{
transform:translateX(-335px); -webkit-transform:translateX(-335px);
}
/* DERNIER MESSAGE FORUM */
.lmsgFRM {
display:inline-block; vertical-align:top;
width:130px; height:105px; padding:10px; overflow:hidden;
text-align:right; font-size:11px; text-transform:uppercase; line-height:24px;
background:rgba(250,250,250,0.7); color:black; /* MODIFIABLE */
}
/* COULEUR TITRE DERNIER MESSAGE FORUM */
.lmsgFRM a{
color:black; /* MODIFIABLE */
}

Code:
<table width="800px" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td valign="bottom">
    <!-- BEGIN switch_user_logged_in -->
    <span class="gensmall">{LAST_VISIT_DATE}<br />
    {CURRENT_TIME}<br />
    </span>
    <!-- END switch_user_logged_in -->
    <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
    </td>
    <td class="gensmall" align="right" valign="bottom">
    <!-- BEGIN switch_user_logged_in -->
    <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
    <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
    <!-- END switch_user_logged_in -->
    <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
    </td>
    </tr>
    </table>
 
    <!-- BEGIN catrow --><!-- BEGIN tablehead -->
 <div class="tleCAT">{catrow.tablehead.L_FORUM}</div>
    <!-- END tablehead -->
 
    <!-- BEGIN cathead -->
    <!-- END cathead -->
    <!-- BEGIN forumrow -->
    <div id="blocFRM"><div class="blocFRM"><div class="tleFRM"><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></div><div class="triLFRM"></div><img class="imgFRM" src="{catrow.forumrow.FORUM_FOLDER_IMG}" /><div class="triRFRM"></div><div class="nbFRM">{catrow.forumrow.TOPICS} sujets  ▼  {catrow.forumrow.POSTS} réponses</div>
 <div id="dtlFRM"><div class="sfFRM" id="sfFRM">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div><div class="triFRM"></div><div class="descFRM">{catrow.forumrow.FORUM_DESC}</div><div class="lmsgFRM">{catrow.forumrow.LAST_POST}</div></div></div></div>
    <!-- END forumrow -->
    <!-- BEGIN catfoot -->

    <!-- BEGIN inc -->
    <!-- END inc -->
 
    <!-- END catfoot -->
    <!-- BEGIN tablefoot -->
    <!-- END tablefoot --><!-- END catrow -->

En l'attente de votre réponse,
Je vous souhaite une agréable soirée.
Revenir en haut Aller en bas
Problème code catégorie Empty Mer 21 Juin - 0:15
Bonsoir,

Tel qu'indiqué dans la notice :
Panneau d'administration > Affichage > Page d'accueil > Structure et hiérarchie

Problème code catégorie SF
Revenir en haut Aller en bas
Problème code catégorie Empty Mer 21 Juin - 19:03
Excusez-moi, je n'avais pas vu la notice !
Merci beaucoup en tout cas :)
Revenir en haut Aller en bas
Revenir en haut Aller en bas
Vous ne pouvez pas répondre aux sujets dans ce forum