Taille titre catégorie

3 participants

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

Résolu Taille titre catégorie

Message par Dixon Ven 10 Juin 2011 - 19:36

Bonjour! =)
Voilà, dernièrement j'ai changé l'apparence de mes catégories. Ce qui donne ceci ( sous explorer ) :
https://2img.net/r/ihimizer/img135/4290/48858006.png

Mon problème, c'est que j'aimerais que le titre de la catégorie soit plus gros. Évidemment, on peut changer la taille de la police par exemple des sous-forums, mais comme j'ai joué dans les templates, ça ne fonctionne pas pour mes catégories...

Voici donc mon code dans mon template index_box :

Spoiler:

Et je met aussi ce que j'ai mit dans mon CSS:

/* TITRE CATEGORIE */
.titrecat {
text-align: center;
padding-top: -15px;
padding-bottom: 15px;
display: block;
width: 80%;
border-top: 10px solid #FACDAE;
border-right: 10px solid #FACDAE;
border-left: 10px solid #FACDAE;
background-color: #FACDAE;
color: #FFF;
-moz-border-radius-topleft: 60px;
-moz-border-radius-topright: 60px;
margin-top: 12px;
height: 30px;
font-weight: bolder;}
/* FIN */



Serait-il également possible de retirer le : { qui se trouve avant le titre de la catégorie?

Je remercie énormément la personne qui voudra bien m'aider! :thanks:


Dernière édition par Dixon le Ven 10 Juin 2011 - 23:05, édité 1 fois
avatar

Dixon
Nouveau membre

Messages : 22
Inscrit(e) le : 20/01/2011

http://hominiumrevelio.forums-actifs.com/
Dixon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Scipion Ven 10 Juin 2011 - 19:53

Bonsoir

Essayez d'augmenter la taille des titres de vos catégories au moyen de ce code CSS :

Code:
a.cattitle {
display:block;
font-size: 18px;
 font-family: Georgia;
  color: #E30E30;
text-align:center;
}
Personnalisation :

- Taille des caractères : 18px
- Police d'écriture : Georgia
- Couleur : #E30E30
- Alignement : center

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Invité Ven 10 Juin 2011 - 19:55

Bonsoir,

Normalement, en remplaçant votre template par celui-ci, la parenthèse en trop devrait ne plus apparaître :

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 --><center><div class="titrecat">{catrow.tablehead.L_FORUM}</div></center><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- 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="80%">
<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="80%" 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>
<span class="gensmall"><b>{catrow.forumrow.TOPICS}</b> sujets <b>&</b> <b>{catrow.forumrow.POSTS}</b> messages</span>
<td class="row3 over" align="center" valign="middle" height="50" width="20%">
<span class="gensmall"><b>{catrow.forumrow.TOPICS}</b> sujets <b>&</b> <b>{catrow.forumrow.POSTS}</b> messages</span><br/><br/><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 -->

Cordialement
Anonymous

Invité
Invité


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

Résolu Re: Taille titre catégorie

Message par Dixon Ven 10 Juin 2011 - 20:13

Lydie1: Merci! Ça fonctionne! =) <3
Scipion : Merci beaucoup, mais malheureusement, ça ne change pas la taille des titres de mes catégories qui ont été modifiés dans mon template index_box Sad La taille demeure la même... Sad
avatar

Dixon
Nouveau membre

Messages : 22
Inscrit(e) le : 20/01/2011

http://hominiumrevelio.forums-actifs.com/
Dixon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Scipion Ven 10 Juin 2011 - 20:28

D'accord, maintenant que souhaitez-vous faire à propos du template index-box ?

Cordialement

Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Dixon Ven 10 Juin 2011 - 20:31

En fait, comme ça ne change rien au niveau du CSS, ( je n'y connais vraiment pas grand chose, mais j'imagine qu'il faudrait aller voir du côté du template index_box pour changer la taille du titre des catégories qui ont été modifiés? )

Par contre à ce niveau là je ne sais pas du tout ce qu'il faudrait changer :S Je suis vraiment désolée de vous demander cette prise de tête :S
avatar

Dixon
Nouveau membre

Messages : 22
Inscrit(e) le : 20/01/2011

http://hominiumrevelio.forums-actifs.com/
Dixon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Scipion Ven 10 Juin 2011 - 20:58

Vous avez fait beaucoup de modifications dans le template alors voilà ce que je vous propose : je vais rétablir la valeur par défaut en essayant d'intégrer le code qui permet de changer la taille et la police des titres de catégories. Qu'en penses-vous svp?

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Dixon Ven 10 Juin 2011 - 21:39

Oui, pas de problème. ^^ Ça me diras tout de même où faire la modification après. =) Il faudra juste me souligner le code ajouté. Razz Merci beaucoup! <3
avatar

Dixon
Nouveau membre

Messages : 22
Inscrit(e) le : 20/01/2011

http://hominiumrevelio.forums-actifs.com/
Dixon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Scipion Ven 10 Juin 2011 - 22:04

Essayez votre template index_box modifié :

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 colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
           <th nowrap="nowrap" width="50">{L_TOPICS}</th>
      <th nowrap="nowrap" width="50">{L_POSTS}</th>
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></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}"><font size="16px" face="Georgia">{catrow.cathead.CAT_TITLE}</font></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">
         <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>
      <!-- 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 -->
Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Dixon Ven 10 Juin 2011 - 22:34

Désolé, ça ne fonctionne pas. :S Ce n'est pas grâve je vais le laisser comme ça. Merci tout de même! Wink
avatar

Dixon
Nouveau membre

Messages : 22
Inscrit(e) le : 20/01/2011

http://hominiumrevelio.forums-actifs.com/
Dixon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Scipion Ven 10 Juin 2011 - 23:42

Votre template fonctionne très bien sur mon forum, comment pourrait-il en être autrement sur le votre si vous êtes bien en phpBB2 ? Essayez une nouvelle fois mais en supprimant le code CSS associé aux titres des catégories car il peut détenir une certaine priorité.

Si au final rien ne fonctionne alors utilisez ce code à insérer dans les titres de vos catégories :

Code:
<font color="#000000"><span style="font-size: 18px; line-height: normal"><font face="Arial">Titre de catégorie</font></span></font>

Personnalisation :

- Couleur : #000000
- Taille des caractères : 18px
- Police utilisée : Arial

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille titre catégorie

Message par Automne Jeu 16 Juin 2011 - 1:15

Taille titre catégorie  Check10Bonjour,

Afin de faciliter la gestion des problèmes, si votre problème est
résolu, pensez à :

  • éditer votre premier message,
  • cocher l'icône résolu
  • Et enregistrer en cliquant sur
    Taille titre catégorie  Envoi10


Vous pouvez également remercier les personnes qui vous ont aidé, en
cliquant sur le bouton
Taille titre catégorie  50378

A
bientôt sur ForumActif
Smile
Automne

Automne
Membre actif

Messages : 8431
Inscrit(e) le : 22/03/2010

https://gilles570.motards.net/
Automne 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