Enlever la couleur de fond des catégories via Index Box

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Enlever la couleur de fond des catégories via Index Box

Message par naturanimal Mar 30 Aoû 2011 - 15:51

Bonjour,

Je souhaiterais passer par le template Index Box pour enlever la couleur de fond des catégories et ainsi avoir une couleur de fond dans les messages.
Pourriez-vous m'aider s'il vous plait ?

Merci,
Crazy


Dernière édition par naturanimal le Jeu 1 Sep 2011 - 18:24, édité 1 fois
avatar

naturanimal
*

Féminin
Messages : 44
Inscrit(e) le : 25/12/2010

http://naturanimal.forumactif.com/
naturanimal a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Enlever la couleur de fond des catégories via Index Box

Message par Invité Mer 31 Aoû 2011 - 21:42

Bonsoir,

Dan l'index-box, il faut repérer les class des cellules où vous souhaitez retirer la couleur et les supprimer ou les remplacez par une class personnalisée qui fera appel à votre feuille de style CSS personnalisée.

Cordialement.
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Enlever la couleur de fond des catégories via Index Box

Message par naturanimal Jeu 1 Sep 2011 - 10:09

Merci, cependant je suis encore assez novice côté code... j'ai un peu de mal à voir :/
avatar

naturanimal
*

Féminin
Messages : 44
Inscrit(e) le : 25/12/2010

http://naturanimal.forumactif.com/
naturanimal a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Enlever la couleur de fond des catégories via Index Box

Message par Invité Jeu 1 Sep 2011 - 10:21

Bonjour,

Dans le template Index-box par défaut, la partie à modifier est celle ci:
Code:
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
         <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
               <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
         </h{catrow.forumrow.LEVEL}>
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </span>
      </td>
      <td class="row3" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>
Pour ôter les couleurs de fond, on ôte les class row1 over, row2, row3, row3 over, comme ceci:
Code:
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="" align="center" valign="middle">
         <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
               <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
         </h{catrow.forumrow.LEVEL}>
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </span>
      </td>
      <td class="" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>

Cordialement.
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Enlever la couleur de fond des catégories via Index Box

Message par naturanimal Jeu 1 Sep 2011 - 10:44

Merci, ça marche, il reste seulement le fond derrière l'image qui indique s'il y a des nouveaux messages...
avatar

naturanimal
*

Féminin
Messages : 44
Inscrit(e) le : 25/12/2010

http://naturanimal.forumactif.com/
naturanimal a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Enlever la couleur de fond des catégories via Index Box

Message par Invité Jeu 1 Sep 2011 - 13:03

Repérez ceci:
Code:
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
Et remplacez-le par:
Code:
<td class="" align="center" valign="middle">
        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>

Cordialement.
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Enlever la couleur de fond des catégories via Index Box

Message par naturanimal Jeu 1 Sep 2011 - 18:24

Merci beaucoup ! C'est bon =)
avatar

naturanimal
*

Féminin
Messages : 44
Inscrit(e) le : 25/12/2010

http://naturanimal.forumactif.com/
naturanimal a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum