Taille des titres de catégories.

2 participants

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

Résolu Taille des titres de catégories.

Message par Kimi Kozuma Mer 3 Oct 2012 - 21:29

Au secours ToT

C'est peut-être bête ce que je vais demander mais, la taille de mes titres de catégories ne veulent pas se changer ! J'ai mis une div devant la propriété dans le template et j'ai mis les données dans le css... mais rien de rien... ça veut pas.

En espérant que quelqu'un trouve ce qui cloque afin de m'aider, je mets mon template et mon css.

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 -->
<div class="cathead"></div><div class="catbody">

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
    <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> <span class="titrecategorie">{catrow.tablehead.L_FORUM}</span></th>
   
     
  <!-- 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">
     
      </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">
            <table>
<tr>
<td><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /> </td><td> <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a> </td>
</tr>
</table>

            </span>
        </h{catrow.forumrow.LEVEL}><span class="genmed"><center>{catrow.forumrow.FORUM_DESC}{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</center>
       
     

        <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
        </span>
      </td>
      <!-- BEGIN forum_link_no -->
      <td class="row3 over" align="center" valign="middle" height="50"><br>
        <div class="entête-fstat">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.<br /></div>
 <div class="fstat">
<span class="gensmall">{catrow.forumrow.LAST_POST}<br /></div>
</span>
      </div>
</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>
</div><div class="catfoot"></div>
<img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
 

Css:
Code:
/*SUPPRESSION DU SOULIGNEMENT */

a:link {text-decoration: none;}
a:hover{text-decoration: none !important;}
a { text-decoration: none; }
a:link { text-decoration: none; }
a:hover { text-decoration: none; }


a {
text-decoration: none !important;
text-shadow: 1px 0px 2px #010101;}

a:hover
{
text-decoration: none !important;
text-shadow: 1px 0px 2px #010101;}

#navigation
{
  margin: auto;
  text-align: center;
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #2d1424;
  border-bottom: 2px solid #b48836;
  margin-top: -10px;
  margin-left: -10px;
  padding: 5px;
}
#i_logo
{
height: 500px;
}

.titrecategorie{

margin-left: 210px;
padding: 3px;
display: block;
font-family: 'Griffy', cursive;
margin-top: -135px;
font-size: 18px;
text-align: center}

a.mainmenu {text-align: center;
 background: #;

border-radius: 20px ;
Border-top:0px solid #dbd2b3;
border-bottom:0px solid #dbd2b3;
border-left:0px solid #dbd2b3;
border-right: 0px solid #dbd2b3;
font-variant: small-caps;}




/** bordures des forums **/

.forumline
{

background: #2d1424;
width: 800px;
border-top: px #fff solid;
border-bottom: px #fff solid;
border-right: px #fff solid;
border-left: px #fff solid;
margin: left;
box-shadow: 2px 2px 0px 0px #;




}

a.forumlink
{
display: block;
border-left: 5px solid #;
border-bottom: 1px solid #;
padding-left: 10px;
margin-left: 10px;
font-size: 24px;
font-family: 'Griffy', cursive;
font-weight: normal;
text-shadow: 0px 0px 1px #000000;
transform: all;
-moz-transform: all;
-o-transform: all;
-htm-transform: all;
-webkit-transform: all;
transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
-htm-transition: 1s;
-webkit-transition: 1s;
text-shadow: 1px 0px 2px #010101;}

a.forumlink:hover
{

  display: block;
border-left: 5px solid #;
border-bottom: 1px solid #;
font-style: normal;
padding-left: 25px;
transform: all;
-moz-transform: all;
-o-transform: all;
-htm-transform: all;
-webkit-transform: all;
transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
-htm-transition: 1s;
-webkit-transition: 1s;
}

.DescForum {
  text-align:center;
float:left;
}


.SousForums {
  text-align:center;
}

.entête-fstat {
 
  color: #fff;
font-size: 10px;
font-weight: bold;
}

.fstat {
 width: 200px;
  background: #0A0005;
height: auto;
text-align: center;
padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 60px ;
border-bottom: #b48836 2px solid;
border-top: #b48836 2px solid;}


.postbody
{
text-align: justify;
padding: 5px;
font-size: 12px;
line-height: 16px;
text-shadow: 1px 0px 2px #010101;
width: auto;
  background: #0A0005;
height: auto;
text-align: center;
padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 60px ;
border-bottom: #b48836 2px solid;
border-top: #b48836 2px solid;}



.row3Right
{
border: none !important;
}
.thHead
{
border: none !important;
}
.thCornerL, .thCornerR, .thTop
{
border: none !important;
}
.thLeft, .thRight
{
border-left: none !important;
border-right: none !important;
}
.catLeft, .catRight
{
border: none! important;
}
.catHead
{
border: none !important;
}
.catBottom
{
border: none !important;
}


.cathead
{
  background: url('http://img15.hostingpics.net/pics/248567cathaut.png') top center no-repeat;
width: 800px;
height: 200px;
  margin: auto; /*Permet de centrer la partie du corps*/
}

.catbody
{
  background: url('') center repeat-y;
width: 800px;
  margin: auto;

}
.catfoot
{
  background: url('http://img15.hostingpics.net/pics/157920catbas.png') bottom center no-repeat;
width: 800px;
height: 170px;
  margin: auto;
}


 


ToT aidez-moiiiiii


Dernière édition par Kimi Kozuma le Jeu 4 Oct 2012 - 19:24, édité 1 fois
avatar

Kimi Kozuma
****

Messages : 245
Inscrit(e) le : 03/06/2009

http://setmybodyfree.forumactif.fr/
Kimi Kozuma a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille des titres de catégories.

Message par tupac Jeu 4 Oct 2012 - 3:10

Bonsoir

Dans la feuille de style css supprime ce code.
Code:
.titrecategorie{
margin-left: 210px;
padding: 3px;
display: block;
font-family: 'Griffy', cursive;
margin-top: -135px;
font-size: 18px;
text-align: center;}
Remplace-le par celui-la.
Code:
.secondarytitle h2 {
        margin-left: 210px;
        padding: 3px;
        display: block;
        font-family: 'Griffy', cursive;
        margin-top: -135px;
        font-size: 30px;
        text-align: center;}
Dans la template index_box tu peux désormais retirer la partie suivante qui ne te sert plus a rien.
Code:
<span class="titrecategorie">  </span>
Bien sur ne retire pas la variable qui se trouve entre les SPAN.
tupac

tupac
Membre actif

Masculin
Messages : 2551
Inscrit(e) le : 13/10/2010

http://codactif.monalliance.com/
tupac a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille des titres de catégories.

Message par Kimi Kozuma Jeu 4 Oct 2012 - 19:24

Merci ça marche impec Smile
avatar

Kimi Kozuma
****

Messages : 245
Inscrit(e) le : 03/06/2009

http://setmybodyfree.forumactif.fr/
Kimi Kozuma 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