-20%
Le deal à ne pas rater :
-20% sur le Lot de 2 écrans PC GIGABYTE 27″ LED M27Q
429 € 539 €
Voir le deal

Modification d’un template de catégorie (taille).

Modification d’un template de catégorie (taille). Empty Jeu 19 Avr - 14:32

Bonjour Skaemp,

J'aurais besoin de vos compétences de codeur.se afin de, si possibilité est, de modifier le code du Jeu 28 Juil - 19:48, donné sous le format 900px, pour un forum en 800px. Par ailleurs, j'ai pu remarquer que le code dans sa taille originelle élargissait le corps du forum - j'imagine que la taille du codage actuel doit être de 900px, sans compter les balises margin présentes sur les côtés (?) ; or, nous aimerions que cela ne soit pas le cas, en référence à notre navigation qui est prévue pour le nombre exact de 800px.

Sur un autre point, je souhaitais vous prévenir que le codage de sujet du Sam 6 Juin - 4:43, pour les avatars en 200*400 ne se trouvait pas dans la balise code associée ; et la longueur du sujet empêchant, une partie du codage s'est enlevé (même s'il ne s'agit, pour le coup, que d'une parenthèse de fin de codage).

Vous souhaitant bien à vous, et espérant que vous procéderez à ma requête.
Revenir en haut Aller en bas
Modification d’un template de catégorie (taille). Empty Ven 20 Avr - 4:25
Bonjour,

Remplacez l'intégralité du template index_box par :

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 class="FRM"><div class="boxDESC"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" class="imgFRM" /></div><div class="tleFRM"><span style="display:inline-block; vertical-align:middle; height:170px;"></span><span style="display:inline-block; vertical-align:middle;"><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><div class="lmsgFRM">{catrow.forumrow.LAST_POST}</div></span></div><div class="boxFRM"><div class="descFRM">{catrow.forumrow.FORUM_DESC}</div><div class="sfFRM"><span style="display:inline-block; vertical-align:middle; height:40px;"></span><span style="display:inline-block; vertical-align:middle;">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></div></div><div class="boxFRM"><div class="nbFRM">{catrow.forumrow.TOPICS}</div><div class="nbFRM nbFRMII">{catrow.forumrow.POSTS}</div></div></div>    
         <!-- END forumrow -->
        
        <!-- BEGIN catfoot -->
         <!-- END catfoot -->
         <!-- BEGIN tablefoot -->
        <!-- END tablefoot --><!-- END catrow -->
 <!-- CODAGE PAR SKAEMP / CCCRUSH D'APRES UN SCHEMA DE KENNY MC / T305-PLUSIEURS-TEMPLATES -->

Partie CSS :
Code:
/* BLOC TITRE CATEGORIE */
.tleCAT {
margin:10px auto 0; width:800px; padding:10px 0; text-align:right;
background:black; /* MODIFIABLE */
}
/* TITRE CATEGORIE */
.tleCAT h2 {
margin:0; padding-right:15px;
font-size:42px; text-transform:uppercase; font-family:Arial;
color:white; /* MODIFIABLE */
}
/* BLOC FORUM */
.FRM {
margin:10px auto;
width:798px; padding:10px 0; border:1px solid;
text-align:center; font-family:Arial;
border-color:lightgrey; background:#DEDEDE; /* MODIFIABLE */
}
/* BLOC IMAGE DESCRIPTIVE & ICÔNES FORUM */
.boxDESC {
display:inline-block; vertical-align:top;
width:240px; height:170px; border:1px solid;
border-color:lightgrey; background:white; /* MODIFIABLE */
}
/* IMAGE DESCRIPTIVE FORUM */
.descFRM img {
position:absolute; z-index:3; margin-top:5px; margin-left:-427px;
width:220px; height:150px;
transition:opacity 0.75s ease-in-out; -webkit-transition:opacity 0.75s ease-in-out;
}
.descFRM img:hover {
opacity:0;
}
/* ICÔNES FORUM */
.imgFRM {
margin:10px auto 0; width:220px; height:150px;
}
/* BLOC TITRE & DERNIER MESSAGE FORUM */
.tleFRM {
display:inline-block; vertical-align:top; margin:0 9px;
width:170px; height:170px; overflow:hidden; border:1px solid;
text-align:center; font-size:12px; text-transform:uppercase;
border-color:lightgrey; background:white; /* MODIFIABLE */
}
/* TITRE FORUM */
.tleFRM a {
color:grey !important; /* MODIFIABLE */
}
/* DERNIER MESSAGE FORUM */
.lmsgFRM {
margin:7px auto 0;
padding-top:7px; border-top:1px solid;
text-align:center; font-size:10px; line-height:15px;
border-top-color:lightgrey; color:black; /* MODIFIABLE */
}
/* COULEUR TITRE SUJET DERNIER MESSAGE FORUM */
.lmsgFRM a {
color:black !important; /* MODIFIABLE */
}
/* BLOC POSITIONNEMENT */
.boxFRM {
display:inline-block; vertical-align:top;
}
/* DESCRIPTION FORUM */
.descFRM {
margin-bottom:5px; margin-right:9px;
width:248px; height:113px; padding:5px; overflow-y:auto; border:1px solid;
font-size:10px; text-align:justify; line-height:16px;
border-color:lightgrey; background:white; color:black;  /* MODIFIABLE */
}
/* BLOC SOUS-FORUMS */
.sfFRM {
margin-top:5px;
width:248px; height:40px; padding:0 5px; overflow-y:auto; border:1px solid;
font-size:10px; text-align:left; text-transform:uppercase;
border-color:lightgrey; background:white; color:grey;  /* MODIFIABLE */
}
/* LIENS SOUS-FORUMS */
.sfFRM a {
color:grey !important; /* MODIFIABLE */
}
/* NOMBRE SUJETS FORUM */
.nbFRM {
width:75px; height:65px; padding-top:15px; overflow:hidden; border:1px solid;
text-align:center; font-size:28px; font-family:Arial; line-height:50px;
border-color:grey; color:black; /* MODIFIABLE */
}
/* NOMBRE MESSAGES FORUM */
.nbFRMII {
margin-top:8px;
border-color:grey; color:grey; /* MODIFIABLE */
}

Le fait s'étant soustrait à ma vigilance, je vous remercie de votre signalement.
Revenir en haut Aller en bas
Vous ne pouvez pas répondre aux sujets dans ce forum