Problème d'affichage des titres de catégories

2 participants

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

Résolu Problème d'affichage des titres de catégories

Message par Necro Seth Sam 27 Avr 2013 - 17:59

Bonjour,

Jusqu'à maintenant, je n'avais pas remarqué, mais je me retrouve face à un petit souci, alors que je suis en train de modifier l'apparence de mon forum, je le fais sur un forum test en attendant. Enfin bref.
Comme dit dans le titre, j'ai un souci d'affichage des titres de mes catégories, j'aimerais les modifier mais rien à faire, ça ne bouge pas...
Donc voici le lien, pour voir un peu...
http://forumtest-eleusis.forumactif.com/
Le forum est en phpbb2, j'ai modifié les templates d'affichage des catégories index_box que voici:
Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
      <tr>
          <td valign="bottom">
         
            <div class="nav">{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 --><center><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
          <th colspan="3" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
      </tr></table>
<table class="tourcat" width="750px" border="0" cellspacing="0" cellpadding="5" padding="5">
      <!-- END tablehead -->
      <!-- BEGIN cathead -->
      <tr>
          <!-- BEGIN inc -->
          <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
          <!-- END inc -->
          <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
            <h{catrow.cathead.LEVEL} class="hierarchy">
                <span class="secondarytitle">
                  <a class="secondarytitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
                </span>
            </h{catrow.cathead.LEVEL}>
          </td>
          <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
      </tr>
      <!-- END cathead -->
      <!-- BEGIN forumrow -->
      <tr>
          <!-- BEGIN inc -->
          <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
          <!-- END inc -->
          <td 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}>
           
              <div class="descripcat">
            <span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
            <span class="gensmall">
              <div class="sousfo"><span class="gensmall"><center><marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</marquee></center></span></div>
                <!-- BEGIN switch_moderators_links -->
                {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                <!-- END switch_moderators_links -->
            </span>
          </td>
          <td align="center" valign="middle" height="50">
            <span class="gensmall"><div style="width:150px;" class="dersujcat">{catrow.forumrow.LAST_POST}<br><br>Sujets : {catrow.forumrow.TOPICS}<br> Messages : {catrow.forumrow.POSTS}</div></span>
          </td>
        <td align="center" valign="middle">
            <img style="margin-top: 10px;" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
          </td>
      </tr>
      <!-- END forumrow -->
      <!-- BEGIN catfoot -->
      <tr>
          <!-- BEGIN inc -->
          <td class="{catrow.catfoot.inc.INC_CLASS}" width="46">
    <img src="http://i47.servimg.com/u/f47/11/17/87/21/0110.png" /><br/><img src="{SPACER}" height="400" width="700" /></td>
          <!-- END inc -->
          <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
      </tr>
      <!-- END catfoot -->
      <!-- BEGIN tablefoot -->
    </table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow --></center>

Voici la partie CSS concerné qui me pose problème...
Code:
.secondarytitle {
box-shadow: 0 -1px 0 #5b5b5b inset, 0 5px 15px rgba(0, 0, 0, 0.4);
border-radius: 5px;
background-color : #4f556b;
height : 50px;
  border: black solid 1px
    font: Alice, sans-serif;,Verdana,Arial,Helvetica;
    font-size: 30px !important;
}

J'ai modifié aussi le templates d'affichage des sujets et je me rend compte que pour le titre "Annonces et sujets" tout fonctionne parfaitement. Alors pourquoi ça ne marche pas pour le titre des catégories?

Merci à celui/celle/ceux/celles qui arriveront à résoudre mon problème T_T


Dernière édition par Necro Seth le Sam 27 Avr 2013 - 18:18, édité 1 fois
Necro Seth

Necro Seth
Nouveau membre

Messages : 18
Inscrit(e) le : 17/04/2013

http://eleusis.forumactif.org/
Necro Seth a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème d'affichage des titres de catégories

Message par Matriochka Sam 27 Avr 2013 - 18:06

Bonjour et Bienvenue
sur le Forum des Forums Forumactif
Vu que vous êtes nouveau, voici quelques sujets importants :
Problème d'affichage des titres de catégories Attention2 Sécurité : mail de fondation - Ce qu'il ne faut pas faire
N'hésitez pas à ouvrir un nouveau sujet si vous ne trouvez pas votre réponse Wink

Dans ton CSS, remplace :
Code:
.secondarytitle

par :
Code:
.secondarytitle h2
avatar

Matriochka
Membre actif

Messages : 7604
Inscrit(e) le : 14/07/2010

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

Résolu Re: Problème d'affichage des titres de catégories

Message par Necro Seth Sam 27 Avr 2013 - 18:17

J'ai pas fait exactement comme dit, mais en tout cas ça marche!

En gros, j'ai gardé le secondarytitle et mis le font sous secondarytitle h2

Merci beaucoup pour le coup de main!
Necro Seth

Necro Seth
Nouveau membre

Messages : 18
Inscrit(e) le : 17/04/2013

http://eleusis.forumactif.org/
Necro Seth 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