Taille d'écriture dans catégories.

2 participants

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

Résolu Taille d'écriture dans catégories.

Message par Eleniel Dim 9 Nov 2014 - 12:07

Bonjour. Smile

Mes catégories se présentent ainsi : http://guru.forumactif.org/c1-preface
L'écriture est énorme. x) Comment la modifier ? J'ai essayé avec des codages de CSS mais ça marche pas. :/ Le voici Arrow

Spoiler:


Dernière édition par Eleniel le Mar 11 Nov 2014 - 21:48, édité 1 fois
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille d'écriture dans catégories.

Message par MlleAlys Dim 9 Nov 2014 - 17:21

Bonjour,
ce code css devrait permettre de modifier la taille de la police des descriptions :

Code:
span.cat_desc {
    font-size: 11px;
}
MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: Taille d'écriture dans catégories.

Message par Eleniel Dim 9 Nov 2014 - 18:54

Oui justement, j'ai beau changé la taille, ça change rien.
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille d'écriture dans catégories.

Message par MlleAlys Dim 9 Nov 2014 - 23:22

Essayez avec ce code css ?
Code:
#chatbox_members a span strong {
    font-size: 15px;
}
.hp_index .secondarytitle h2 {
    display: none; /* retirer les titres en trop */
}
table.forumline {
    border: none !important;
}
.maintitle {
    margin-top:-45px;
}
.mainmenu {
    margin-top: -5px;
    display: block;
    background-color: #C5C6C1;
}
span.gen a.mainmenu, span.gen {
    float: left;
    background: none !important;
}
/**** Informations du posteur ****/
 .autour_avatar {
    width: 200px;
    height: 320px;
    overflow: hidden;
    position: relative;
    margin-top: 10%;
    margin-bottom: 10%;
}
.avatar_image {
    background: #f6e9b6;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.avatar_infos {
    background: #E6E6E6;
    position: absolute;
    top: 0;
    left: 0;
    width: 96%;
    height: 100%;
    z-index: 80;
    opacity:0;
    margin-top: 320px;
    padding-left: 2%;
    padding-right: 2%;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    -ms-transition: all 0.8s;
    transition: all 0.8s;
}
.autour_avatar:hover > .avatar_infos {
    filter: alpha(opacity=85);
    -moz-opacity: 0.85;
    -khtml-opacity: 0.85;
    opacity: 0.85;
    margin-top: 0px;
}
.autour_avatar .name strong {
    text-transform: uppercase;
}
.feuille_de_perso a {
    display: none;
}
#i_icon_online {
    margin-top: 1%;
}
.positionnementrelatif {
    position:relative;
    top:5cm;
}
.fondpseudo {
    background: #F3FCCF;
    width: 200px;
    height: 40px;
    -moz-border-radius-topright: 50px;
    -moz-border-radius-topleft: 50px;
    margin:auto;
    border:2px dashed #D6FAA5; /* couleur du cadre */
}
.cadre {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius:10px;
    -khtml-border-radius:10px;
    padding: 5px;
}
.sousforums {
    text-transform:lowercase;
    /* texte en minuscules */
    text-align : right;
    /* texte centré dans le bloc */
}
/******************************************************************
MISE EN FORME DES CATÉGORIES : AFFICHER LES SOUS FORUMS EN COLONNE
***************************/
 .secondarytitle {
    text-align:left !important;
    font-family:'Playball', cursive;
}
.cat_gauche {
    font-size:12px;
    background-color:WhiteSmoke;
    padding:5px;
    margin-top:9px;
    width:140px;
}
.nom_cat {
    font-size:20px;
    font-weight:bold;
    font-family:'Playball', cursive;
    transition:1s;
    transition-delay: -0.1s;
}
.nom_cat:hover {
    font-size:20px;
    font-weight:bold;
    font-family:'Playball', cursive;
    letter-spacing:5px;
    transition:1s;
}
.cat_desc {
    height:105px;
    overflow:auto;
    display:block;
    text-align:justify;
    font-size:10px;
    background-color:WhiteSmoke;
}
.cat_droite_conteneur {
    margin-top:25px;
    height:105px;
    overflow:auto;
    display:block;
    text-align:justify;
    background-color:WhiteSmoke;
    padding:10px;
}
.cat_droite_contenu {
    background-color:pink;
    padding:3px;
    width:124px;
    margin:auto;
    font-family:'Playball', cursive;
    font-size:18px;
}
.gensmall2 a {
    font-size:18px !important;
}
/* FIN PRESENTATION */
 textarea {
    border:1px solid #E6EACD;
    background-color:#FAFBF7;
}
.postbody {
    display: block;
    line-height:12px;
    text-align:justify;
}
.liensfec {
    text-shadow:1px 1px 0px white;
}
/* DEBUT CATEGORIES */
 table {
    border-collapse: separate;
    border-spacing: 0px;
}
.forumline .row1, .forumline .row2, .forumline .row3, .forumline .row3Right {
    padding: 2px 3px;
    padding-top: 2px;
    padding-right: 3px;
    padding-bottom: 2px;
    padding-left: 3px;
}
.bodylinewidth {
    width:25%
}
.bodyline {
    -moz-border-radius:10px;
    border-radius:10px;
    border : 3px solid #cfc5c7;
}
.forumline {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}
td.catHead, th.thHead {
    -webkit-border-radius: 15px 15px 0 0;
    -moz-border-radius: 15px 15px 0 0;
    border-radius: 15px 15px 0 0;
}
td.catBottom, th.thBottom {
    -webkit-border-radius: 0 0 15px 15px;
    -moz-border-radius: 0 0 15px 15px;
    border-radius: 0 0 15px 15px;
}
.posts {
    color: #e2a976;
    font-size: 9px;
    position: absolute;
    right: 0;
    top: -15px;
}
/* FIN CATEGORIES*/

MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: Taille d'écriture dans catégories.

Message par Eleniel Lun 10 Nov 2014 - 16:12

Ah, voilà merci Smile . Et je pourrais aussi avoir de l'aide par rapport à la navbar sur le côté ? J'ai essayé de la mettre en scroller, impossible... Car quand je descends la page, j'aimerai que la navigation descende aussi ? ^^
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille d'écriture dans catégories.

Message par MlleAlys Lun 10 Nov 2014 - 17:18

Dans le code de la barre de navigation, vous avez dû à un moment ajouter le code position: absolute;
Remplacez par position: fixed;
MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: Taille d'écriture dans catégories.

Message par Eleniel Lun 10 Nov 2014 - 17:31

Quand je mets en place ce codage, toute la navbar se supprime à l'exception du bouton accueil et déconnexion /:
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille d'écriture dans catégories.

Message par MlleAlys Lun 10 Nov 2014 - 21:35

Quel est votre code exactement ?
MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: Taille d'écriture dans catégories.

Message par Eleniel Mar 11 Nov 2014 - 10:50

Code:
 #chatbox_members a span strong {
            font-size: 15px;
        }
        .hp_index .secondarytitle h2 {
            display: none; /* retirer les titres en trop */
        }
        table.forumline {
            border: none !important;
        }
        .maintitle {
            margin-top:-45px;
        }
        .mainmenu {
            margin-top: -5px;
            display: block;
            background-color: #C5C6C1;
        }
        span.gen a.mainmenu, span.gen {
            float: left;
            background: none !important;
        }
        /**** Informations du posteur ****/
        .autour_avatar {
            width: 200px;
            height: 320px;
            overflow: hidden;
            position: relative;
            margin-top: 10%;
            margin-bottom: 10%;
        }
        .avatar_image {
            background: #f6e9b6;
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        .avatar_infos {
            background: #E6E6E6;
            position: absolute;
            top: 0;
            left: 0;
            width: 96%;
            height: 100%;
            z-index: 80;
            opacity:0;
            margin-top: 320px;
            padding-left: 2%;
            padding-right: 2%;
            -webkit-transition: all 0.8s;
            -moz-transition: all 0.8s;
            -o-transition: all 0.8s;
            -ms-transition: all 0.8s;
            transition: all 0.8s;
        }
        .autour_avatar:hover > .avatar_infos {
            filter: alpha(opacity=85);
            -moz-opacity: 0.85;
            -khtml-opacity: 0.85;
            opacity: 0.85;
            margin-top: 0px;
        }
        .autour_avatar .name strong {
            text-transform: uppercase;
        }
        .feuille_de_perso a {
            display: none;
        }
        #i_icon_online {
            margin-top: 1%;
        }
        .positionnementrelatif {
            position:relative;
            top:5cm;
        }
        .fondpseudo {
            background: #F3FCCF;
            width: 200px;
            height: 40px;
            -moz-border-radius-topright: 50px;
            -moz-border-radius-topleft: 50px;
            margin:auto;
            border:2px dashed #D6FAA5; /* couleur du cadre */
        }
        .cadre {
            border-radius: 10px;
            -moz-border-radius: 10px;
            -webkit-border-radius:10px;
            -khtml-border-radius:10px;
            padding: 5px;
        }
        .sousforums {
            text-transform:lowercase;
            /* texte en minuscules */
            text-align : right;
            /* texte centré dans le bloc */
        }
        /******************************************************************
        MISE EN FORME DES CATÉGORIES : AFFICHER LES SOUS FORUMS EN COLONNE
        ***************************/
        .secondarytitle {
            text-align:left !important;
            font-family:'Playball', cursive;
        }
        .cat_gauche {
            font-size:12px;
            background-color:WhiteSmoke;
            padding:5px;
            margin-top:9px;
            width:140px;
        }
        .nom_cat {
            font-size:16px;
            font-weight:bold;
            font-family:Tahoma;
            transition:1s;
            transition-delay: -0.1s;
        }
        .nom_cat:hover {
            font-size:16px;
            font-weight:bold;
            font-family:Tahoma;
            letter-spacing:5px;
            transition:1s;
        }
        .cat_desc {
            height:105px;
            overflow:auto;
            display:block;
            text-align:justify;
            font-size:10px;
            background-color:WhiteSmoke;
        }
        .cat_droite_conteneur {
            margin-top:25px;
            height:105px;
            overflow:auto;
            display:block;
            text-align:justify;
            background-color:WhiteSmoke;
            padding:10px;
        }
        .cat_droite_contenu {
            background-color:white;
            padding:3px;
            width:124px;
            margin:auto;
            font-family:Tahoma
            font-size:11px;
        }
        .gensmall2 a {
            font-size:11px !important;
        }
        /* FIN PRESENTATION */
        textarea {
            border:1px solid #E6EACD;
            background-color:#FAFBF7;
        }
        .postbody {
            display: block;
            line-height:12px;
            text-align:justify;
        }
        .liensfec {
            text-shadow:1px 1px 0px white;
        }
        /* DEBUT CATEGORIES */
        table {
            border-collapse: separate;
            border-spacing: 0px;
        }
        .forumline .row1, .forumline .row2, .forumline .row3, .forumline .row3Right {
            padding: 2px 3px;
            padding-top: 2px;
            padding-right: 3px;
            padding-bottom: 2px;
            padding-left: 3px;
        }
        .bodylinewidth {
            width:25%
        }
        .bodyline {
            -moz-border-radius:10px;
            border-radius:10px;
            border : 3px solid #cfc5c7;
        }
        .forumline {
            -webkit-border-radius: 15px;
            -moz-border-radius: 15px;
            border-radius: 15px;
        }
        td.catHead, th.thHead {
            -webkit-border-radius: 15px 15px 0 0;
            -moz-border-radius: 15px 15px 0 0;
            border-radius: 15px 15px 0 0;
        }
        td.catBottom, th.thBottom {
            -webkit-border-radius: 0 0 15px 15px;
            -moz-border-radius: 0 0 15px 15px;
            border-radius: 0 0 15px 15px;
        }
        .posts {
            color: #e2a976;
            font-size: 9px;
            position: absolute;
            right: 0;
            top: -15px;
        }
        /* FIN CATEGORIES*/


/* DEBUT NAVIGATION */


.mainmenu {
font-size: 10px;
font-family: arial;
color: #B7110A;
text-transform: uppercase;
padding: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
font-weight: bold;}

a.mainmenu {
font-family: arial;
font-size: 10px;
cursor: cross;
color: #B7110A;
}
/* FIN NAVIGATION */

/* DEBUT ESPACE BANN - NAVBAR */

.maintitle
{
margin-top:-45px;
}

#i_logo {
margin-left: -09px;
margin-right: -09px;
padding-bottom: 0px;
margin-bottom: -10px;
}
/* FIN ESPACE BANN - NAVBAR */

/* DEBUT DECO LIENS */


a.forumlink {
display: block;
background-color:#F9F3E5;
padding-left: 70px;
font-size: 17px;
text-transform:uppercase;
font-family:georgia;
letter-spacing:1px;
font-style:;
margin-top:5px;
font-weight: lighter;
color:#23a489;
height: 6px;
padding: 2px;
margin-bottom:-10px;
text-shadow:0px 0px 3px #;
line-height: 6px;
text-decoration: underline;
letter-spacing:1pt;
-moz-transition-property : letter-spacing ;
-moz-transition-duration : 1s ;
}

a.forumlink:hover{
  letter-spacing: 5pt;
}

a.forumlink:link {color:#29cfb5;}
a.forumlink:active {color:#29cfb5;}
a.forumlink:visited {color:#29cfb5;}
a.forumlink:hover {color:#8acf33; text-shadow:0px 0px 3px #;
}

a.forumlink:before { content:"⊱ ";}
a.forumlink:hover:before { content:"⊱ ";
}

.bodylinewidth {
width:40%
}

a:hover{
text-decoration: none !important;  /*liens sans soulignement*/
}
a {
text-decoration: none !important;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}

 /*FIN DECO LIENS*/

/* DEBUT BORDURES ET TITRES */

.bodyline
{border-left: 10px solid #;
border-right: 10px solid #;
background-color: #e6e6e6;
border-top: none;
border-bottom: none;}

/* FIN BORDURES ET TITRES */

/* --------------------------------- PROFIL --------------------------------- */

/* Fond du profil */
.fond_profil {
  background-color: #E0E0E0;
  border-radius: 25px;
  width: 200px;
  font-family: arial;
  font-size: 12px;
  box-shadow: 2px 2px 10px white;
  -moz-box-shadow: 2px 2px 10px white;
  -webkit-box-shadow: 2px 2px 10px white;
}

/* Mise en forme du pseudo */
.pseudo_profil {
 
  font-size: 12px;
  text-align: center !important;
 
}

/* Enlève le soulignement sous le pseudo */
.pseudo_profil a{
  text-decoration: none !important;
  font-size: 12px;
}

/* Fond du pseudo */
.pseudo_fond {
  background-image:
  background-repeat: no-repeat;
}

/* Mise en forme de l'avatar */
.avatar_profil img {
  max-width: 200px;
  max-height: 400px;
  border-radius: 15px;
  box-shadow: 2px 2px 10px black;
  -moz-box-shadow: 2px 2px 10px black;
  -webkit-box-shadow: 2px 2px 10px black;
}

/* Mise en forme du rang du profil */
.rang_profil {
 
  color: #646E7B;
  font-size: 14px;
  font-family: arial;
}

/* Contenu du bloc d'information */
.postdetails_profil {
  background-color: #F2F2F2;
  border: 1px solid #CFCFCF;
  width: 160px;
  font-size: 11px;
  padding: 10px;
  text-align: justify;
  color: #646E7B;
}

/* Positionnement du bouton "MP" */
.mp_profil {
  position: relative;
  top: 1.5em;
  left: -4em;
}

Voici.
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille d'écriture dans catégories.

Message par MlleAlys Mar 11 Nov 2014 - 12:18

Ce n'est pas dans votre css que vous avez codé la position du menu, juste la mise en forme des liens, allez voir dans votre template pour trouver le code position: absolute; attaché au tableau de la barre de navigation, pour le modifier en position: fixed;
(ce doit être dansu n passage de ce genre :
<table cellspacing="0" cellpadding="0" border="0" style="position: absolute; top: 20px; right: 5px; width: 150px;">
Si vous ne trouvez pas ou doutez, postez votre template ^^)
MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: Taille d'écriture dans catégories.

Message par Eleniel Mar 11 Nov 2014 - 14:48

Ca ne change rien, j'ai mis "position :fixed " et la NAV BAR change seulement de côté, elle se met à gauche au lieu de droite mais ne coulisse pas en même temps que la page :/ Voici la template =)

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head> <table cellspacing="0" cellpadding="0" border="0" style="fixed: absolute; top: 20px; right: 5px;  width: 150px;" >
                      <tr>
                          <td >{GENERATED_NAV_BAR}</span></td>
                      </tr>
        </table>
   <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
   <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
   <meta http-equiv="content-script-type" content="text/javascript" />
   <meta http-equiv="content-style-type" content="text/css" />
   <!-- BEGIN switch_compat_meta -->
   <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
   <!-- END switch_compat_meta -->
   <!-- BEGIN switch_canonical_url -->
   <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
   <!-- END switch_canonical_url -->
   {META_FAVICO}
   {META}
   {META_FB_LIKE}
   <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
   {T_HEAD_STYLESHEET}
   {CSS}
   <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
   <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
   <script src="{JQUERY_PATH}" type="text/javascript"></script>
   <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>

   <!-- BEGIN switch_fb_login -->
   <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
   <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
   <!-- END switch_fb_login -->

   <!-- BEGIN switch_ticker -->
   <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
   <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
   <!-- END switch_ticker -->

   <!-- BEGIN switch_ticker_new -->
   <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
   <script type="text/javascript">//<![CDATA[
      /* Definir le sens de direction en fonction du panneau admin */
      var tickerDirParam = "{switch_ticker.DIRECTION}";
      var slid_vert = false;
      var auto_dir = 'next';
      var h_perso = parseInt({switch_ticker.HEIGHT});

      switch( tickerDirParam )
      {
         case 'top' :
            slid_vert = true;
            break;

         case 'left':
            break;

         case 'bottom':
            slid_vert = true;
            auto_dir = 'prev';
            break;

         case 'right':
            auto_dir = 'prev';
            break;

         default:
            slid_vert = true;
      }

      $(document).ready(function() {
         var w_cont = $('#fa_ticker_container').width();

         if (w_cont > 0)
         {
            $('#fa_ticker_container').width(w_cont);

            /* Affichage de la liste */
            $('#fa_ticker_content').css('display','block');

            /* Calcul des dimensions du conteneur et des ?l?ments */
            var width_max = $('ul#fa_ticker_content').width();
            var width_item = Math.floor(width_max / {switch_ticker.SIZE});
            var height_max = h_perso;

            /* Calcul de la hauteur maximale du contenur en fonction des ?l?ments et de la hauteur personnalis?e dans l'admin */
            $('ul#fa_ticker_content li').each( function () {
               if ($(this).height() > height_max)
               {
                  height_max = $(this).height();
               }
            } );

            /* Redimensionnement des ?l?ments et des images trop larges */
            $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
               if ($(this).width() > width_item)
               {
               var ratio      = $(this).width() / width_item;
               var new_height = Math.round($(this).height() / ratio);
               $(this).height(new_height).width(width_item);
               }
            });

            /* Redimensionnement et centrage du conteneur en mode vertical */
            if (slid_vert)
            {
               $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
            }

            /* Initialisation du caroussel */
            $('#fa_ticker_content').jcarousel({
                  vertical: slid_vert,
               wrap: 'circular',
               auto: {switch_ticker.STOP_TIME},
               auto_direction: auto_dir,
            scroll: 1,
            size: {switch_ticker.SIZE},
            height_max: height_max,
            animation: {switch_ticker.SPEED}
            });
         }
         else
         {
            $('ul#fa_ticker_content li:not(:first)').css('display','none');
            $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
         }
      });
   //]]>
   </script>
   <!-- END switch_ticker_new -->

   <script type="text/javascript">//<![CDATA[
   $(document).ready(function(){
      <!-- BEGIN switch_enable_pm_popup -->
         pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
         pm.focus();
      <!-- END switch_enable_pm_popup -->
      <!-- BEGIN switch_report_popup -->
         report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
         report.focus();
      <!-- END switch_report_popup -->
      <!-- BEGIN switch_ticker -->
         ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
      <!-- END switch_ticker -->
   });

   <!-- BEGIN switch_login_popup -->
      var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
   <!-- END switch_login_popup -->

   <!-- BEGIN switch_login_popup -->
   $(document).ready( function() {
      $(window).resize(function() {
         var windowWidth = document.documentElement.clientWidth;
         var popupWidth = $("#login_popup").width();
         var mypopup = $("#login_popup");

         $("#login_popup").css({
         "left": windowWidth/2 - popupWidth/2
            });
      });
   });
   <!-- END switch_login_popup -->
   //]]>
   </script>
   {GREETING_POPUP}
   <!-- BEGIN switch_ticker_new -->
   <style>
   .jcarousel-skin-tango .jcarousel-item {
      text-align:center;
      width: 10px;
   }

   .jcarousel-skin-tango .jcarousel-item-horizontal {
      margin-right: {switch_ticker.SPACING}px;
   }

   .jcarousel-skin-tango .jcarousel-item-vertical {
      margin-bottom: {switch_ticker.SPACING}px;
   }
   </style>
   <!-- END switch_ticker_new -->
   {HOSTING_JS}
   <!-- BEGIN google_analytics_code -->
   <script type="text/javascript">
   //<![CDATA[
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
   //]]>
   </script>
   <!-- END google_analytics_code -->
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" onload="changeLogo();">
   <!-- BEGIN hitskin_preview -->
   <div id="hitskin_preview" style="display: block;">
      <h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
      <div class="content">
         <p>
            {hitskin_preview.L_THEME_SITE_PREVIEW}
            <br />
            <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
         </p>
      </div>
   </div>
   <!-- END hitskin_preview -->

   <!-- BEGIN switch_login_popup -->
   <div id="login_popup">
      <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
         <tr height="25">
            <td class="catLeft">
               <span class="genmed module-title">{SITENAME}</span>
            </td>
         </tr>
         <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
            <td class="row1" align="left" valign="top">
               <div id="login_popup_buttons">
                  <form action="{S_LOGIN_ACTION}" method="get">
                     <input type="submit" class="mainoption" value="{L_LOGIN}" />
                     <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                     <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                  </form>
               </div>
               <span class="genmed">{LOGIN_POPUP_MSG}</span>
            </td>
         </tr>
      </table>
   </div>
   <!-- END switch_login_popup -->

   <a name="top"></a>
   {JAVASCRIPT}

   <table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
      <tr>
         <td class="bodyline">
            <table width="100%" cellspacing="0" cellpadding="0" border="0">
               <tr>
                  <!-- BEGIN switch_logo_left -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_left -->
                  <td align="center" width="100%" valign="middle">
                     <!-- BEGIN switch_logo_center -->
                     <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                     <br />
                     <!-- END switch_logo_center -->
                     <div class="maintitle">{MAIN_SITENAME}</div>
                     <br />
                     <span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
                  </td>
                  <!-- BEGIN switch_logo_right -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_right -->
               </tr>
            </table>

            

            <div style="clear: both;"></div>

            <!-- BEGIN switch_ticker_new -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                           <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none;">
                              <!-- BEGIN ticker_row -->
                              <li>{switch_ticker.ticker_row.ELEMENT}</li>
                              <!-- END ticker_row -->
                           </ul>
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker_new -->

            <!-- BEGIN switch_ticker -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                           <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                              <div class="fa_ticker_content">
                                 <!-- BEGIN ticker_row -->
                                 <div>{switch_ticker.ticker_row.ELEMENT}</div>
                                 <!-- END ticker_row -->
                              </div>
                           </div>
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker -->

            <div id="page-body">
               <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                  <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                     <tbody>
                        <tr>
                           <td valign="top" width="{C1SIZE}">
                              <div id="{ID_LEFT}">
                                 <!-- BEGIN giefmod_index1 -->
                                 {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                 <!-- END giefmod_index1 -->
                              </div>
                           </td>
                           <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                           </td>
                        </tr>
                     </tbody>
                  </table>
               </div>
            </div>
         </td>
      </tr>
   </table>
</body>
</html>
<!-- END html_validation -->
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Taille d'écriture dans catégories.

Message par MlleAlys Mar 11 Nov 2014 - 20:44

Essayez avec ce template :
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
  <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
  <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
  <meta http-equiv="content-script-type" content="text/javascript" />
  <meta http-equiv="content-style-type" content="text/css" />
  <!-- BEGIN switch_compat_meta -->
  <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
  <!-- END switch_compat_meta -->
  <!-- BEGIN switch_canonical_url -->
  <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
  <!-- END switch_canonical_url -->
  {META_FAVICO}
  {META}
  {META_FB_LIKE}
  <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
  {T_HEAD_STYLESHEET}
  {CSS}
  <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
  <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
  <script src="{JQUERY_PATH}" type="text/javascript"></script>
  <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>

  <!-- BEGIN switch_fb_login -->
  <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
  <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
  <!-- END switch_fb_login -->

  <!-- BEGIN switch_ticker -->
  <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
  <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
  <!-- END switch_ticker -->

  <!-- BEGIN switch_ticker_new -->
  <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
  <script type="text/javascript">//<![CDATA[
      /* Definir le sens de direction en fonction du panneau admin */
      var tickerDirParam = "{switch_ticker.DIRECTION}";
      var slid_vert = false;
      var auto_dir = 'next';
      var h_perso = parseInt({switch_ticker.HEIGHT});

      switch( tickerDirParam )
      {
        case 'top' :
            slid_vert = true;
            break;

        case 'left':
            break;

        case 'bottom':
            slid_vert = true;
            auto_dir = 'prev';
            break;

        case 'right':
            auto_dir = 'prev';
            break;

        default:
            slid_vert = true;
      }

      $(document).ready(function() {
        var w_cont = $('#fa_ticker_container').width();

        if (w_cont > 0)
        {
            $('#fa_ticker_container').width(w_cont);

            /* Affichage de la liste */
            $('#fa_ticker_content').css('display','block');

            /* Calcul des dimensions du conteneur et des ?l?ments */
            var width_max = $('ul#fa_ticker_content').width();
            var width_item = Math.floor(width_max / {switch_ticker.SIZE});
            var height_max = h_perso;

            /* Calcul de la hauteur maximale du contenur en fonction des ?l?ments et de la hauteur personnalis?e dans l'admin */
            $('ul#fa_ticker_content li').each( function () {
              if ($(this).height() > height_max)
              {
                  height_max = $(this).height();
              }
            } );

            /* Redimensionnement des ?l?ments et des images trop larges */
            $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
              if ($(this).width() > width_item)
              {
              var ratio      = $(this).width() / width_item;
              var new_height = Math.round($(this).height() / ratio);
              $(this).height(new_height).width(width_item);
              }
            });

            /* Redimensionnement et centrage du conteneur en mode vertical */
            if (slid_vert)
            {
              $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
            }

            /* Initialisation du caroussel */
            $('#fa_ticker_content').jcarousel({
                  vertical: slid_vert,
              wrap: 'circular',
              auto: {switch_ticker.STOP_TIME},
              auto_direction: auto_dir,
            scroll: 1,
            size: {switch_ticker.SIZE},
            height_max: height_max,
            animation: {switch_ticker.SPEED}
            });
        }
        else
        {
            $('ul#fa_ticker_content li:not(:first)').css('display','none');
            $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
        }
      });
  //]]>
  </script>
  <!-- END switch_ticker_new -->

  <script type="text/javascript">//<![CDATA[
  $(document).ready(function(){
      <!-- BEGIN switch_enable_pm_popup -->
        pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
        pm.focus();
      <!-- END switch_enable_pm_popup -->
      <!-- BEGIN switch_report_popup -->
        report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
        report.focus();
      <!-- END switch_report_popup -->
      <!-- BEGIN switch_ticker -->
        ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
      <!-- END switch_ticker -->
  });

  <!-- BEGIN switch_login_popup -->
      var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
  <!-- END switch_login_popup -->

  <!-- BEGIN switch_login_popup -->
  $(document).ready( function() {
      $(window).resize(function() {
        var windowWidth = document.documentElement.clientWidth;
        var popupWidth = $("#login_popup").width();
        var mypopup = $("#login_popup");

        $("#login_popup").css({
        "left": windowWidth/2 - popupWidth/2
            });
      });
  });
  <!-- END switch_login_popup -->
  //]]>
  </script>
  {GREETING_POPUP}
  <!-- BEGIN switch_ticker_new -->
  <style>
  .jcarousel-skin-tango .jcarousel-item {
      text-align:center;
      width: 10px;
  }

  .jcarousel-skin-tango .jcarousel-item-horizontal {
      margin-right: {switch_ticker.SPACING}px;
  }

  .jcarousel-skin-tango .jcarousel-item-vertical {
      margin-bottom: {switch_ticker.SPACING}px;
  }
  </style>
  <!-- END switch_ticker_new -->
  {HOSTING_JS}
  <!-- BEGIN google_analytics_code -->
  <script type="text/javascript">
  //<![CDATA[
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  //]]>
  </script>
  <!-- END google_analytics_code -->
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" onload="changeLogo();">
  <!-- BEGIN hitskin_preview -->
  <div id="hitskin_preview" style="display: block;">
      <h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
      <div class="content">
        <p>
            {hitskin_preview.L_THEME_SITE_PREVIEW}
            <br />
            <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
        </p>
      </div>
  </div>
  <!-- END hitskin_preview -->

  <!-- BEGIN switch_login_popup -->
  <div id="login_popup">
      <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
        <tr height="25">
            <td class="catLeft">
              <span class="genmed module-title">{SITENAME}</span>
            </td>
        </tr>
        <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
            <td class="row1" align="left" valign="top">
              <div id="login_popup_buttons">
                  <form action="{S_LOGIN_ACTION}" method="get">
                    <input type="submit" class="mainoption" value="{L_LOGIN}" />
                    <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                    <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                  </form>
              </div>
              <span class="genmed">{LOGIN_POPUP_MSG}</span>
            </td>
        </tr>
      </table>
  </div>
  <!-- END switch_login_popup -->

  <a name="top"></a>
  {JAVASCRIPT}

  <table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
      <tr>
        <td class="bodyline">
            <table width="100%" cellspacing="0" cellpadding="0" border="0">
              <tr>
                  <!-- BEGIN switch_logo_left -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_left -->
                  <td align="center" width="100%" valign="middle">
                    <!-- BEGIN switch_logo_center -->
                    <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                    <br />
                    <!-- END switch_logo_center -->
                    <div class="maintitle">{MAIN_SITENAME}</div>
                    <br />
                    <span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
                  </td>
                  <!-- BEGIN switch_logo_right -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_right -->
              </tr>
            </table>
         
          <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}" class="navigation">
            <tr>
              <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
            </tr>
          </table>

            <div style="clear: both;"></div>

            <!-- BEGIN switch_ticker_new -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                    <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                          <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none;">
                              <!-- BEGIN ticker_row -->
                              <li>{switch_ticker.ticker_row.ELEMENT}</li>
                              <!-- END ticker_row -->
                          </ul>
                        </div>
                    </td>
                  </tr>
              </table>
            </div>
            <!-- END switch_ticker_new -->

            <!-- BEGIN switch_ticker -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                    <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                          <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                              <div class="fa_ticker_content">
                                <!-- BEGIN ticker_row -->
                                <div>{switch_ticker.ticker_row.ELEMENT}</div>
                                <!-- END ticker_row -->
                              </div>
                          </div>
                        </div>
                    </td>
                  </tr>
              </table>
            </div>
            <!-- END switch_ticker -->

            <div id="page-body">
              <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                  <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                    <tbody>
                        <tr>
                          <td valign="top" width="{C1SIZE}">
                              <div id="{ID_LEFT}">
                                <!-- BEGIN giefmod_index1 -->
                                {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                <!-- END giefmod_index1 -->
                              </div>
                          </td>
                          <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                          </td>
                        </tr>
                    </tbody>
                  </table>
              </div>
            </div>
        </td>
      </tr>
  </table>
</body>
</html>
<!-- END html_validation -->
Publiez le, puis ajoutez ce code dans votre feuille de style css (cela évitera de devoir repasser par le template à chaque fois ^^) :
Code:
/*positionnement de la barre de navigation*/
table.navigation {
    position:fixed;
    top: 40px;
    right: 5px; 
    width: 150px;
}
MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: Taille d'écriture dans catégories.

Message par Eleniel Mar 11 Nov 2014 - 21:47

Ah ! Smile Problème résolu donc. Merci beaucoup pour ton aide et patience. ♥
Eleniel

Eleniel
***

Féminin
Messages : 195
Inscrit(e) le : 10/10/2011

http://rabbithole.forumactif.com/
Eleniel 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