Titre de catégorie en double
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
Titre de catégorie en double
Détails techniques
Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Mozilla Firefox, Google Chrome, Opera
Capture d'écran du problème :
- Voir l'image:
Personnes concernées par le problème : Tous les utilisateurs
Problème apparu depuis : Toujours
Lien du forum : (lien masqué, vous devez poster pour le voir)
Description du problème
Bonjour,J'ai un soucis que je ne sais comment régler sur mon forum. Le titre des catégories apparaît 2 fois. J'aimerais garder uniquement le second titre et supprimer toute la barre au-dessus (y compris dernier messages) Voici mon template index-box si c'est bien celui à modifier pour ce que je demande ._.' Je ne suis pas sûre ^^'
- 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="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}">{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">
<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>
<!-- BEGIN forum_link_no -->
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall">
<div class="sujets_messages">{catrow.forumrow.POSTS} Messages & {catrow.forumrow.TOPICS} Sujets </div>
<div class="derniers_sujets">{catrow.forumrow.LAST_POST}</div></span>
</td>
<!-- END forum_link_no -->
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</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 -->
Je ne sais pas si c'est le css qui pose soucis alors le voici aussi.
- Code:
body
{ background-attachment: scroll;
background-repeat: no-repeat;
background-position: top center;}
#outer-wrapper {
margin:10%; }
/*PA*/
.droite {
float: right;
width: 240px;
padding-right: 350 px;
}
.center {
float: center;
width: 460px;
padding-left: xx px;
}
.gauche {
float: left;
width: 240px;
padding-left: 250 px;
}
#texte1 {
text-align:center;
font-family:georgia;
font-size:20px
}
.forumline{
align: center;
border-bottom: 5px inset #AFD6E6;
border-left: 7px inset #AFD6E6;
border-top: 5px outset #AFD6E6;
border-right: 7px outset #AFD6E6;
margin-left:20px;
margin-bottom:20px;
margin-top: 20px;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
box-shadow: 2px 4px 2px 4px #626E78;
-moz-box-shadow: 2px 4px 2px 4px #626E78;
-webkit-box-shadow: 2px 4px 2px 4px #626E78;
-khtml-box-shadow: 2px 4px 2px 4px #626E78;}
/*SOULIGNEMENT DES LIENS*/
a:link {text-decoration: none !important;
font-style: georgia;
}
a:visited {text-decoration: none !important;
font-style: georgia;
padding-left:25p
x;
}
a:hover {text-decoration: none !important;
font-style: georgia;
}
/*CORPS DES MESSAGES TEXTE JUSTIFIE ET PADDE AUTOMATIQUEMENT */
.postbody { width: 95%;
text-align: justify;}
.postbody:after { padding: 5px!important;
display: block;}
.word-count
{text-align: left;
font-size: 9px;
padding-top: 5px !important;}
/* TITRE CATEGORIE */
.titrecat{
margin-top: 15px; /*ne pas modifier*/
margin-bottom: 15px; /*a modifier selon vos goûts*/
margin-left: 20px;
margin-right: 20px;
text-align: center; /*alignement du texte*/
font-size: 22px;
height: auto; /*hauteur à modifier selon vos goûts*/
width: 120px; /*largeur à modifier selon vos goûts*/
color: #290529;
padding-top: 5px !important; /*espace entre la bordure et le texte*/
padding-bottom: 5px !important; /*espace entre la bordure et le texte*/
border-bottom: 5px inset #AFD6E6;
border-left: 7px inset #AFD6E6;
border-top: 5px outset #AFD6E6;
border-right: 7px outset #AFD6E6;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
box-shadow: 2px 4px 2px 4px #626E78;
-moz-box-shadow: 2px 4px 2px 4px #626E78;
-webkit-box-shadow: 2px 4px 2px 4px #626E78;
-khtml-box-shadow: 2px 4px 2px 4px #626E78;}
.titrefofo{
margin-top: 15px; /*ne pas modifier*/
margin-bottom: 15px; /*a modifier selon vos goûts*/
margin-left: 20px;
margin-right: 20px;
text-align: center; /*alignement du texte*/
font-size: 18px;
height: auto; /*hauteur à modifier selon vos goûts*/
width: auto; /*largeur à modifier selon vos goûts*/
color: #290529;
padding-top: 5px !important; /*espace entre la bordure et le texte*/
padding-bottom: 5px !important; /*espace entre la bordure et le texte*/
border-bottom: 5px inset #AFD6E6;
border-left: 7px inset #AFD6E6;
border-top: 5px outset #AFD6E6;
border-right: 7px outset #AFD6E6;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
box-shadow: 2px 4px 2px 4px #626E78;
-moz-box-shadow: 2px 4px 2px 4px #626E78;
-webkit-box-shadow: 2px 4px 2px 4px #626E78;
-khtml-box-shadow: 2px 4px 2px 4px #626E78;}
.descriptcat
{
margin-top: 15px; /*ne pas modifier*/
margin-bottom: 15px; /*a modifier selon vos goûts*/
margin-left: 15px;
margin-right: 15px;
text-justify: center; /*alignement du texte*/
font-size: 12px;
height: auto; /*hauteur à modifier selon vos goûts*/
width: auto; /*largeur à modifier selon vos goûts*/
color: #290529;
padding-top: 5px !important; /*espace entre la bordure et le texte*/
padding-bottom: 5px !important; /*espace entre la bordure et le texte*/
border-bottom: 5px inset #AFD6E6;
border-left: 7px inset #AFD6E6;
border-top: 5px outset #AFD6E6;
border-right: 7px outset #AFD6E6;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
box-shadow: 2px 4px 2px 4px #626E78;
-moz-box-shadow: 2px 4px 2px 4px #626E78;
-webkit-box-shadow: 2px 4px 2px 4px #626E78;
-khtml-box-shadow: 2px 4px 2px 4px #626E78;
}
/* Centre le nom des forums */
a.forumtitle {text-align:center;display:block;}
/* Centre la description et les sous-forums */
.dterm div {text-align:center;}
/* changer la taille de la cellule image forums/sujets */
ul.topics dd.dterm {
padding-left:110px;
}
dl.icon {
min-height:55px;}
ul.topics dt {
padding-left:110 px;
display: block;
float: left;
width: 75%;
}
.row dl.icon dt {
background-position: 110px 5px;
min-height: 55px;
height:auto !important
}
ul.pmlist dt,ul.pmlist dd.dterm {
padding-left: 110px ;
}
/* supression colonne message et sujet de l index */
dd.topics, dd.posts {display:none!important;}
.profil_mess
{
position: relative;
z-index: 9;
width: 210px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
background-color: #333333;
padding: 4px;
text-align: center;
border-radius: 10px;
-moz-border-radius: 10px;
-htm-border-radius: 10px;
-o-border-radius: 10px;
-webkit-border-radius: 10px;
border: 2px solid #5b5b5b;
box-shadow: 0px 0px 5px #000000;
-moz-box-shadow: 0px 0px 5px #000000;
-htm-box-shadow: 0px 0px 5px #000000;
-o-box-shadow: 0px 0px 5px #000000;
-webkit-box-shadow: 0px 0px 5px #000000;
}
.name
{
display: block;
text-transform: uppercase;
margin-top: -15px;
margin-bottom: -10px;
font-size: 14px;
font-family: arial black;
text-shadow: 1px 1px 0px #000000;
padding-bottom: 5px;
border-bottom: 1px dashed #5b5b5b;
}
.avatar_mess
{
display: block;
width: 200px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
height: 320px;
overflow: hidden;
border: 5px solid #0d0d0d;
opacity: 0.7;
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
filter: alpha(opacity=70);
transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
-htm-transition: 1s;
-webkit-transition: 1s;
}
.avatar_mess:hover
{
opacity: 1;
-moz-opacity: 1;
-khtml-opacity: 1;
filter: alpha(opacity=100);
transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
-htm-transition: 1s;
-webkit-transition: 1s;
}
.profil2_mess
{
position: relative;
z-index: 1;
width: 180px;
margin-left: auto;
margin-right: auto;
margin-top: -202px;
background-color: #141414;
padding-left: 4px;
padding-right: 4px;
text-align: left;
border-radius: 10px;
-moz-border-radius: 10px;
-htm-border-radius: 10px;
-o-border-radius: 10px;
-webkit-border-radius: 10px;
border: 2px solid #434343;
box-shadow: 0px 0px 5px #000000;
-moz-box-shadow: 0px 0px 5px #000000;
-htm-box-shadow: 0px 0px 5px #000000;
-o-box-shadow: 0px 0px 5px #000000;
-webkit-box-shadow: 0px 0px 5px #000000;
color: #434343 !important;
transform: rotate(-180deg);
-moz-transform: rotate(-180deg);
-o-transform: rotate(-180deg);
-htm-transform: rotate(-180deg);
-webkit-transform: rotate(-180deg);
transition: 2s;
-moz-transition: 2s;
-o-transition: 2s;
-htm-transition: 2s;
-webkit-transition: 2s;
}
.profil2_mess:hover
{
margin-top: -42px;
transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-htm-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transition: 2s;
-moz-transition: 2s;
-o-transition: 2s;
-htm-transition: 2s;
-webkit-transition: 2s;
}
.profil2_content
{
display: block;
width: 180px;
height: 200px;
max-height: 200px;
overflow: auto;
}
.statistiques{
border:0px;
background-repeat: no-repeat;
background-position: center;
height:auto;}
.groupes{
background-position: center;
background-color:#D6F9FF;
-moz-border-radius : 5px 5px 5px 5px;
-moz-border-radius : 5px 5px 5px 5px;
-o-border-radius : 5px 5px 5px 5px;
-htm-border-radius : 5px 5px 5px 5px;
-webkit-border-radius : 5px 5px 5px 5px;
height:auto;
padding-right:12px;
padding-left:14px;
padding-bottom:3px;
font-size:15px;
font-weight: bold;
text-align:center;
text-decoration: none !important;}
.dterm br {display:none;}
Au niveau des couleurs et codes c'est inutile de vous embêter, j'y arriverai. Je n'ai besoin que de supprimer cet entête pour ne conserver que les liens ^^
Je vous remercie d'avoir pris le temps de me lire et pour l'aide que vous m'apporterez.
Bonne journée *-*
Dernière édition par edenial le Mer 17 Juin 2015 - 13:24, édité 1 fois
Re: Titre de catégorie en double
Je sais jamais quoi dire pour remonter un sujet XD
Re: Titre de catégorie en double
Je n'arrive toujours pas à régler mon problème ^^'
Re: Titre de catégorie en double
bonjour ,ces cette ligne qui doit affiché votre barre , a confirmé aprés test bien entendu ,
vous pouvez faire un test en la neutralisant de cette façon
ajouté avant <!-- et aprés -->
ce qui donne ceci
ce qui donne dans votre Template en neutralisant aussi les tr qui ne servent plus !
peut être y'a t'il un code css pour la neutralisé tous simplement !!!
cdl,
- Code:
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
vous pouvez faire un test en la neutralisant de cette façon
ajouté avant <!-- et aprés -->
ce qui donne ceci
- Code:
<!-- <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th> -->
ce qui donne dans votre Template en neutralisant aussi les tr qui ne servent plus !
- 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="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}">{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">
<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>
<!-- BEGIN forum_link_no -->
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall">
<div class="sujets_messages">{catrow.forumrow.POSTS} Messages & {catrow.forumrow.TOPICS} Sujets </div>
<div class="derniers_sujets">{catrow.forumrow.LAST_POST}</div></span>
</td>
<!-- END forum_link_no -->
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</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 -->
peut être y'a t'il un code css pour la neutralisé tous simplement !!!
cdl,
Invité- Invité
Re: Titre de catégorie en double
Merci de vous pencher sur mon problème *o* et de l'avoir résolu si vite en plus !
Je note aussi cette solution pour les prochains changements. J'ignorais à quoi servait les parties en rouge et je n'osais pas y toucher ^-^'
Je vous souhaite une bonne journée **
Je note aussi cette solution pour les prochains changements. J'ignorais à quoi servait les parties en rouge et je n'osais pas y toucher ^-^'
Je vous souhaite une bonne journée **
Sujets similaires
» titre en double
» Bonjour titre catégorie en double
» Nom de catégorie en double
» Nom de Catégorie en double
» Espace entre image en-tête catégorie et titre catégorie
» Bonjour titre catégorie en double
» Nom de catégorie en double
» Nom de Catégorie en double
» Espace entre image en-tête catégorie et titre catégorie
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