Modifier la hauteur et le style d'un titre de catégorie
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1 • Partagez
Modifier la hauteur et le style d'un titre de catégorie
Détails techniques
Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Mozilla Firefox, Google Chrome, Safari
Capture d'écran du problème :
- Voir l'image:
Personnes concernées par le problème : Tous les utilisateurs
Problème apparu depuis : Aujourd'hui, 16 mai 2020
Lien du forum : https://testocode.forumactif.com/
Description du problème
Bonjour tout le monde,Depuis ce matin je m'arrache les cheveux (heureusement que j'en ai beaucoup !!) parce que je ne parviens pas à mettre en forme mes catégories. Je souhaiterais réduire la hauteur de mon titre de catégorie et y mettre une image de fond, mais rien n'y fait. J'essaie en plus de mettre une police via le CSS et ça ne fonctionne pas.
J'ai regardé dans les solutions déjà proposées en modifiant par le css le "secondarytitle" mais rien ne change... Je ne sais plus quoi faire et je dois dire que je suis perdue...
Mon template:
- Code:
<table width="100%" border="0" cellspacing="1" 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 --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th class="{catrow.tablehead.INC_SPAN}" colspan="3" nowrap="nowrap" width="100%" class="secondarytitle">{catrow.tablehead.L_FORUM}</th>
</tr>
<!-- 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="cattitle">
<a class="cattitle" 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 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">
<table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
</h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right;" class="gensmall">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.</td></tr></tbody></table>
<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 over" align="center" valign="middle" height="50">
<!-- BEGIN ads -->
<span class="AD_LastPA">
<span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
<span class="AD_LastInfos">
<b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
{catrow.forumrow.ads.DATE}<br />
{catrow.forumrow.ads.LOCATION}
</span>
</span>
<!-- END ads -->
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></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 -->
Mon CSS:
- Code:
a, a:link, a:hover {
text-decoration: none!important;
}
.secondarytitle {
text-transform: uppercase;
color : #554455;
font-size : 9px;
}
Merci d'avance si vous pouvez m'aider..
Re: Modifier la hauteur et le style d'un titre de catégorie
Salut à toi o/
Le problème vient justement de la ligne de la catégorie, dans le template:
Il y a deux fois l'attribut class; il ne doit y être qu'une fois, il faut donc les mettre ensemble:
(avec un espace entre {catrow.tablehead.INC_SPAN} et secondarytitle pour les séparer)
À partir de là, libre à toi de modifier ce bloc en CSS avec .secondarytitle comme tu as commencé à le faire ! :3
Le problème vient justement de la ligne de la catégorie, dans le template:
- Code:
<th class="{catrow.tablehead.INC_SPAN}" colspan="3" nowrap="nowrap" width="100%" class="secondarytitle">{catrow.tablehead.L_FORUM}</th>
Il y a deux fois l'attribut class; il ne doit y être qu'une fois, il faut donc les mettre ensemble:
(avec un espace entre {catrow.tablehead.INC_SPAN} et secondarytitle pour les séparer)
- Code:
<th class="{catrow.tablehead.INC_SPAN} secondarytitle" colspan="3" nowrap="nowrap" width="100%">{catrow.tablehead.L_FORUM}</th>
À partir de là, libre à toi de modifier ce bloc en CSS avec .secondarytitle comme tu as commencé à le faire ! :3
Re: Modifier la hauteur et le style d'un titre de catégorie
Super merci ça fonctionne !!!
Sujets similaires
» Regler hauteur titre catégorie
» Hauteur et couleur des barres de titre de catégorie paramétrables séparément ?
» Modifier Taille, Style d'Ecriture et Couleur titre de "Message"
» Modifier le titre des catégorie sur la version mobile
» Modifier la hauteur des catégories
» Hauteur et couleur des barres de titre de catégorie paramétrables séparément ?
» Modifier Taille, Style d'Ecriture et Couleur titre de "Message"
» Modifier le titre des catégorie sur la version mobile
» Modifier la hauteur des catégories
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum