Comment modifier la taille des sujets & nombres de messages ?

3 participants

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

Résolu Comment modifier la taille des sujets & nombres de messages ?

Message par Scratpub Lun 27 Sep 2021 - 13:51

Détails techniques

Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Mozilla Firefox
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : http://scratpub.forumactif.org/

Description du problème

Bonjour à tous !

J'ouvre à nouveau ce sujet car je n'arrive toujours pas à modifier la taille de mes sujets & nombres de messages. Comme vous pouvez-vous voir ci-dessous : Comment modifier la taille des sujets & nombres de messages ? 2021-010
merci


Dernière édition par Scratpub le Lun 27 Sep 2021 - 18:39, édité 1 fois
Scratpub

Scratpub
****

Féminin
Messages : 229
Inscrit(e) le : 10/07/2016

http://scratpub.forumactif.org/
Scratpub a été remercié(e) par l'auteur de ce sujet.
  • 0

Résolu Re: Comment modifier la taille des sujets & nombres de messages ?

Message par Oka.mi Lun 27 Sep 2021 - 15:51

Bonjour,

Pour que nous puissions vous aider, il vous faut :

  • soit suspendre temporairement la construction de votre forum et rendre visible pour les invités au moins un forum
  • soit fournir la feuille css et le contenu du template index_box


Et éventuellement préciser le rendu souhaité (modifier la taille c'est-à-dire ?).


Comment modifier la taille des sujets & nombres de messages ? 1213Donnez un titre explicite Comment modifier la taille des sujets & nombres de messages ? VTzsyWB à votre sujet pour améliorer son référencement

Remerciez Comment modifier la taille des sujets & nombres de messages ? 976083691 le message qui vous a aidé pour le mettre en évidence

Cochez résolu lorsque votre problème est résolu pour faciliter le travail des modérateurs

L'aide par MP Comment modifier la taille des sujets & nombres de messages ? FsAeGeb n'est pas autorisée pour que celle-ci puisse bénéficier au plus grand nombre
Oka.mi

Oka.mi
Aidactive
Aidactive

Messages : 2777
Inscrit(e) le : 06/01/2011

https://deus-academia.forumactif.com/
Oka.mi a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Comment modifier la taille des sujets & nombres de messages ?

Message par Scratpub Lun 27 Sep 2021 - 17:06

Bonjour, voici les codes ci-dessous : Clin d\'oeil

Css:

Code:
 /*DÉBUT DES CATÉGORIES*/
    .cat_des1 {
      padding-right:5px;
      padding-left:5px;
      padding-bottom:5px;
      padding-top:15px;
      text-align:justify;
      display:block;
      font-size:12px;
      color: #0d31a8;
    }
    .couleur_fond {
      background-color:lightblue; /*Ici tu mets la couleur du fond de ton forum*/
    }
    .cat1 {
    height:70px;
    overflow:auto;
    background:white;
    border-right:1px solid black;
    border-bottom:1px solid black;
    box-shadow: 1px 1px 1px gray;
    margin:10px;
    }
    a.forumlink_1, a.forumlink_1:link, a.forumlink_1:visited {
        display:block;
      border-right: 5px solid #B3CDF5;
        border-left: 5px solid #B3CDF5;
        -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
    font-family: Georgia;
      background-color:white;
        color: #0d31a8;
      font-size: 30px;
      letter-spacing: -1px;
      transition:1s;
      -moz-transition:1s;
      -webkit-transition:1s;
      -ms-transition:1s;
      -o-transition:1s;
      padding-right:5px;
      padding-bottom:5px;
      padding-top:5px;
      padding-left:25px;
      text-align:left;
    }
    a.forumlink_1:hover, a.forumlink_1:link:hover, a.forumlink_1:visited:hover {
      letter-spacing:10px;
      transition:1s;
      -moz-transition:1s;
      -webkit-transition:1s;
      -ms-transition:1s;
      -o-transition:1s;
      padding:5px;
    }
    a.forumlink_2, a.forumlink_2:link, a.forumlink_2:visited {
      color: #0D31A8;
      font-size:15px;
       font-family: 'Indie Flower', cursive;
      margin-left:20px;
      margin-bottom:-20px;
      display:block;
    }
   /*FIN DES CATÉGORIES*/


et Index box :

Code:
    <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
      <br/>
    </table>
    <!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
      <tr>
          <th colspan="4" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
    </tr>
    </table>    
      <!-- END tablehead -->
      <!-- BEGIN cathead -->
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
    <div class="couleur_fond"><div class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}">

                <span class="forumlink_1">
                  <a class="forumlink_1" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
                </span>
          
      </div></div>
      <!-- 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_2">
                  <a class="forumlink_2" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
                </span>
            </h{catrow.forumrow.LEVEL}>
            <div class="cat1"><span class="cat_des1">{catrow.forumrow.FORUM_DESC}</span></div>
            <span class="gensmall">
              {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
              </span>
          </td>
            <td style="min-width: 150px;" class="row3 over" align="center" valign="middle" height="50"  <span>{L_TOPICS}:{catrow.forumrow.TOPICS}&nbsp;/&nbsp;{L_POSTS}:{catrow.forumrow.POSTS}</span><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 -->


Pour la taille c'est la taille 12 que je souhaite.
Scratpub

Scratpub
****

Féminin
Messages : 229
Inscrit(e) le : 10/07/2016

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

Résolu Re: Comment modifier la taille des sujets & nombres de messages ?

Message par Neptunia Lun 27 Sep 2021 - 17:40

Bonjour ^^


Dans votre template, remplacez :
Code:
<td style="min-width: 150px;" class="row3 over" align="center" valign="middle" height="50"  <span>{L_TOPICS}:{catrow.forumrow.TOPICS}&nbsp;/&nbsp;{L_POSTS}:{catrow.forumrow.POSTS}</span><br />
            <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
   
          </td>
par :
Code:
          <td style="min-width: 150px;" class="row3 over" align="center" valign="middle" height="50">
            <span class="forumstats">{L_TOPICS}:{catrow.forumrow.TOPICS}&nbsp;/&nbsp;{L_POSTS}:{catrow.forumrow.POSTS}</span>
            <br />
            <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
          </td>
Enregistrez et publiez le template.
J'ai juste ajouté un identifiant au span contenant les statistiques. (Et ajouté un > qui manquait juste avant).

Ensuite dans la feuille de style CSS, ajoutez :
Code:
    .forumstats {
      font-size:12px;
    }
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Comment modifier la taille des sujets & nombres de messages ?

Message par Scratpub Lun 27 Sep 2021 - 18:38

Super ! Cela fonctionne !!! Merci Neptunia ! Voir ci-dessous :

Comment modifier la taille des sujets & nombres de messages ? Xxxxx10
Scratpub

Scratpub
****

Féminin
Messages : 229
Inscrit(e) le : 10/07/2016

http://scratpub.forumactif.org/
Scratpub 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