Problème avec des liens

3 participants

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

Résolu Problème avec des liens

Message par piman Sam 17 Sep 2011 - 16:32

Bonjour !!

J'ai un petit problème de débutante... et oui ! Je pense que c'est tout simple à résoudre mais comme je suis pas super forte en CSS, j'aurais besoin d'aide :d

En fait, j'ai un problème avec les liens de mes sous forums qui s'affichent sur le forum quand on arrive sur le forum. Bon c'est pas très clair mais je parle de ça

Spoiler:

Donc j'aimerais savoir comment les changer de couleurs parce que j'ai beau touché un peu à tout sur mon CSS, ça ne change pas x)

Voilà mes codes CSS :

Code:
body { background-attachment: no-fixed; background-repeat: no-repeat; background-position: top center; position: center;}
table.forumline {border:1px solid;}a:hover{text-transform:uppercase;}

.postbody
{display: block;
text-align:justify;}

.quote, .code, .hide
{border: 1px dotted #ad9393;
background-color:#dbdbdb;
-moz-border-radius: 12px;
padding: 4px;}

a
{font-family: calibri;
text-shadow: 1px 1px 1px #000000;
text-color: #DBDBDB;}

c
{-moz-border-radius: 6px;
border: 3px #96858b solid;}

body
{margin-left: 0px;
margin-bottom: 0px;
position:center;
}

.navig {
width: 100%;
background-color: #000000;
height: 30px
top: 0px;
position: absolute;
position: center;
text-transform:uppercase;
}

a.mainmenu {
top: 5px;
margin: 5px;
font-family: Arial;
font-size: 11px;
text-color: #dbdbdb;
}

/* ONGLET Catégories */
.onglet {
display:inline-block;
margin-top:30px;
text-decoration:none; !important
cursor:pointer;
}

.postdetails.poster-profile a img {
border: 5px #857c7f solid; /*La bordure*/
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
text-align: left;}

.secondarytitle{
background-image: url('http://img11.hostingpics.net/pics/586597313.png');
background-repeat: no-repeat;
background-color: transparent;
background-position:center bottom;
height:134px;
width:834px;}

 .dersuj {
background-color : #b6b5b5;
border : 1px solid #3e2323;
-moz-border-radius: 0px 0px 20px 20px;
-webkit-border-radius: 0px 0px 20px 20px;
border-radius: 20px;
}

.nav img {display : none;}
       
        td.row1{
        background-image: url("http://img4.hostingpics.net/pics/872734694.png");
        }
        td.row2{
        background-image: url("http://img4.hostingpics.net/pics/872734694.png");
        }
        td.row3{
        background-image: url("http://img4.hostingpics.net/pics/872734694.png");
        }
       
       
input.liteoption {
background-color : #d9e5f5;
background-image: url('http://img4.hostingpics.net/pics/3247469510.png');
background-position: top;
font-weight : bold;
border: 1px solid #524c4c;
text-color: #dbdbdb;
}

input.mainoption {
background-color : #d9e5f5;
background-image: url('http://img4.hostingpics.net/pics/3247469510.png');
background-position: top;
font-weight : bold;
border: 1px solid #524c4c;
text-color: #dbdbdb;
}

        .catcadre {
            border : 1px solid #0d0c0c;
            -moz-border-radius: 20px ;
            -webkit-border-radius:20px;
            -border-radius:20px;
            -khtml-border-radius:20px;
            padding : 3px;
background-color : #111010;
        }

        .dersuj {
            border : 1px solid #0d0c0c;
            -moz-border-radius: 20px ;
            -webkit-border-radius:20px;
            -border-radius:20px;
            -khtml-border-radius:20px;
            padding : 5px;
background-color : #dbdbdb;
        }

a.forumlink {
border-bottom: 4px solid #544848; /* style de la bordure du bas */
font-family:Times new roman;
font-size: 21px; /*taille de police*/
text-decoration: none; /* Décoration du texte*/
text-transform: uppercase; /* Uppercase, capitalize, none, lowecase */
text-align: left;left/* Alignement du texte : left, right, center ou justify */
color:#8d6868; /*couleur du texte */
letter-spacing:2px; /*espacement entre les lettres */
text-shadow:0px 0px 2px #9e9797; /*ombre du texte */
}

/* Fiche de présentation par ChibiVegeten */

.bloc, .bloc2, .bloc3 {
height: auto;
background-image: url('http://img4.hostingpics.net/pics/723532Fond.png');
color: #DBDBDB;
border: 5px solid #6B6B6B;
border-radius: 10px;
-moz-border-radius: 10px;
webkit-border-radius: 10px; }

.bloc2, .bloc3 {
background-image: url('http://img4.hostingpics.net/pics/723532Fond.png');
text-color: #DBDBDB;
overflow: auto;
padding: 3px;}

.bloc3, .bloc4 {
background-image: url('http://img4.hostingpics.net/pics/723532Fond.png');
text-color: #DBDBDB;
width: 500px;
margin-right: auto;
margin-left: auto; }

.bloc4 {
background-image: url('http://img4.hostingpics.net/pics/723532Fond.png');
text-color: #DBDBDB;
overflow: auto;
height: 240px;
padding: 3px;
}

.id {
font-family: Trebuchet MS;
font-size: 14px;
text-color: #DBDBDB;
margin-left: 20px;}

.ft {
font-family: Trebuchet MS;
font-size: 9px;
text-align: center;
text-color: #dbdbdb;
margin-top: -25px; }

.tit1, .tit2 {
text-transform: lowercase;
font-family: aqualine;
font-size: 36px;
text-align: center;
text-color: #dbdbdb;
}

.tit2 {
margin-top: 7px;
text-color: #dbdbdb;
text-shadow: 0px 0px 4px #534032;}


/* Catégorie en Onglet */


        #conteneur_onglets div
{
          display: inline-block;
          background-color: #1b1616;
          border: 1px solid #211b1b;
          margin-left: 3px;
          margin-right: 3px;
          padding: 3px;
        -moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        border-radius: 8px
font-family: calibri;
text-shadow: 1px 1px 1px #000000;
text-color: #DBDBDB;;
}

#conteneur_onglets
{
  width: 100%;
  display: none;
  margin-top: 20px;
  text-align: center;
  border-collapse: collapse;
}


.actif
{
  background-color: #dbdbdb;
}


/*QEEL*/

        .contenu_onglet{
          border:1px solid black;
          margin-top:-1px;
          padding:5px;
          display:none; 
background-image: no-repeat;         
        }

       
.text_qeel{
font-size: 12px;
color: #DBDBDB;
}

Merci beaucoup d'avance à ceux qui m'aideront ! J'ai déjà l'habitude d'être aidé et j'en reviens toujours pas du temps que vous pouvez nous consacrer x)


Dernière édition par piman le Jeu 22 Sep 2011 - 22:17, édité 1 fois
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par kheino Sam 17 Sep 2011 - 22:22

B'soir,

Je vois le souci, qui en fait est l'identifiant gensmall qui régi beaucoup et partout sur le forum.

Pas grave, tu peux aussi mettre la couleur directement dans le titre de tes sous-forums :
Code:
<font color="#color">TITRE</font>
Ce devrait être bon je pense.
kheino

kheino
Membre habitué

Féminin
Messages : 1698
Inscrit(e) le : 09/05/2010

http://www.siteduzero.com/
kheino a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème avec des liens

Message par piman Sam 17 Sep 2011 - 23:38

Ah quand j'ai dit que c'était tout bête x)

Merci beaucoup ! Smile

J'aurais un autre petit problème, avec mon QEEL cette fois. Voilà ce que ça fait:

Spoiler:

En fait il y a deux couleurs différentes dans les polices et j'aimerais que y en ai qu'une. Au début c'était normal et pis un jour je me suis connecté et ça faisait comme ça... un petit coup de main ? ^^"

Encore merci Final-Blond !
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par tupac Dim 18 Sep 2011 - 3:36

Bonjour

Puis-je avoir votre template index_body svp?
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: Problème avec des liens

Message par piman Dim 18 Sep 2011 - 12:51

La voilà (merci de vous occuper de mon cas Very Happy)

Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td class="row1" rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span> </td>
                  <td><input class="post" type="text" size="10" name="username"/> </td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span> 
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span> </td>
                  <td><input class="post" type="password" size="10" name="password"/> </td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%"  class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span> </td>
                           <td><input class="post" type="text" size="10" name="username"/> </td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span> 
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span> </td>
                           <td><input class="post" type="password" size="10" name="password"/> </td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" perms="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="50%" valign="top">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a>
         <!-- END switch_delete_cookies -->
         </span>
      </td>
      <td width="50%" align="right">
         <span class="gensmall">
            <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
            <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
            <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
            <!-- BEGIN switch_on_index -->
               <!-- BEGIN switch_delete_cookies -->
               <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
               <!-- END switch_delete_cookies -->
            <!-- END switch_on_index -->
         </span>
      </td>
   </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span> </td>
                  <td><input class="post" type="text" size="10" name="username"/> </td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span> 
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span> </td>
                  <td><input class="post" type="password" size="10" name="password"/> </td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%"  class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span> </td>
                           <td><input class="post" type="text" size="10" name="username"/> </td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span> 
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span> </td>
                           <td><input class="post" type="password" size="10" name="password"/> </td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" perms="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->

<center> <a href="http://img4.hostingpics.net/pics/363287QEEL.png" class="postlink" target="_blank" rel="nofollow"><img src="http://img4.hostingpics.net/pics/363287QEEL.png" border="0" alt="" /></a></center>

<table class="qeel" width="100%" border="0" cellspacing="1" cellpadding="0">


<center><tr><td style="text-align: justify; border-right: 4px dotted #DBDBDB; font-size: 11px; padding-right: 12px;" width="450px"><span id="bert"> 
<br>    C'est pas trop tôt ! On t'attendait nous ! Mais bon, maintenant que tu es là... Bienvenue dans le monde merveilleux de Incendio ! Un forum tout simple où on ne se prend pas la tête et où le plus important est avant tout le RPG :) Mais tu n'es peut-être pas là pour m'écouter, si tu es ici c'est pour savoir nos dernières statistiques. Et bah les voilà !</span>
<span class="text_qeel" id="total_membre_co_frm">{TOTAL_USERS}<script type="text/javascript">document.getElementById('total_membre_co_frm').innerHTML=document.getElementById
       
        ('total_membre_co_frm').innerHTML.replace(/Nous avons/," En ce moment, nous sommes ");</script><script type="text/javascript">document.getElementById
       
        ('total_membre_co_frm').innerHTML=document.getElementById('total_membre_co_frm').innerHTML.
        replace(/membres enregistrés/,"sorciers à s'être installés dans les environs de Ashes où dans l'école elle-même.");</script><script type="text/javascript">document.getElementById</script></span><br />
       
        <span class="text_qeel" id="dernier_membre">{NEWEST_USER}<script type="text/javascript">document.getElementById('dernier_membre').innerHTML=document.getElementById
       
        ('dernier_membre').innerHTML.replace(/L'utilisateur enregistré le plus récent est /,"    D'ailleurs, qui s'est celui là ? Un petit nouveau ? Ah... et bien nous souhaitons la bienvenue à notre dernier arrivant qui est ");</script></span> <br />
       
                  <span class="text_qeel" id="total_post">{TOTAL_POSTS}
        <script type="text/javascript">document.getElementById('total_post').innerHTML=document.getElementById
       
        ('total_post').innerHTML.replace(/Nos membres ont posté un total de/,"Il vient rejoindre les autres sorciers qui ont déjà envoyé plus de");</script><script type="text/javascript">document.getElementById
       
        ('total_post').innerHTML=document.getElementById('total_post').innerHTML.
        replace(/messages/,"hiboux au total. Ça en fait des plumes perdues au vol ! O_o ");</script><script type="text/javascript">document.getElementById</script></span><br />
       
        <span class="text_qeel" id="total_membre_on">{TOTAL_USERS_ONLINE}<script type="text/javascript">document.getElementById('total_membre_on').innerHTML=document.getElementById
       
        ('total_membre_on').innerHTML.replace(/Il y a en tout/,"Et il y en a encore qui en envoie au moment où je te parle, ils sont au nombre de ");</script><script type="text/javascript">document.getElementById
       
        ('total_membre_on').innerHTML=document.getElementById('total_membre_on').innerHTML.
        replace(/utilisateur en ligne/,"personne(s) présente(s). Mais les sorciers ne sont pas les seuls, il y a beau y avoir");</script><script type="text/javascript">document.getElementById</script>
       
        <script type="text/javascript">document.getElementById('total_membre_on').innerHTML=document.getElementById
       
        ('total_membre_on').innerHTML.replace(/Enregistré/,"sorcier(s), il y a aussi");</script>
       
        <script type="text/javascript">document.getElementById('total_membre_on').innerHTML=document.getElementById
       
        ('total_membre_on').innerHTML.replace(/Invisible/,"fantôme(s)");</script>
       
        <script type="text/javascript">document.getElementById('total_membre_on').innerHTML=document.getElementById
       
        ('total_membre_on').innerHTML.replace(/Invité/,"moldu(s)");</script></span>
        <br />
        <span class="text_qeel" id="liste_membre_co">
        {LOGGED_IN_USER_LIST}
        </span>
        <br />
        <span class="text_qeel">{CHATTERS_LIST}<br />
                    </div>

<td style="text-align: justify; font-size: 11px ! important;" ;="" width="40%"><div id="l48sth" style="height: 216px; overflow: auto;"><table style="text-align: justify; font-size: 11px ! important;" 50%";="" background-color:transparent="" !important;"="" align="justify" border="0" cellpadding="3" cellspacing="3"><tr><tbody><td class="row1"><span class="gensmall">
   {L_WHOSBIRTHDAY_TODAY}
   {L_WHOSBIRTHDAY_WEEK}
{L_CONNECTED_MEMBERS}</span></td></tr></tbody></table></div></td></tr>   </center>
</table>

<br>
<br><center><div class="cadregroupes"><span class="groupes"><a href="http://incendio.forumactif.org/g1-administrateurs"><font color="#806D7B" size="3">Le Staff  </font></a></span><span class="groupes"><a href="http://incendio.forumactif.org/g4-les-gryffondors"><font color="#FF4747" size="3">Les Griffondors  </font></a></span><span class="groupes"><a href="http://incendio.forumactif.org/g3-les-serpentards"><font color="#49994C" size="3">Les Serpentards  </font></a></span><span class="groupes"><a href="http://incendio.forumactif.org/g5-poufsouffles"><font color="#FFFF61" size="3">Les Poufsouffles  </font></a></span> <span class="groupes"><a href="http://incendio.forumactif.org/g6-les-serdaigles"><font color="#364FF5" size="3">Les Serdaigles  </font></a></span>
<span class="groupes">
<br> <a href="http://incendio.forumactif.org/g7-les-professeurs"><font color="#9799B0" size="3">Les Professeurs  </font></a></span> <span class="groupes"><a href="http://incendio.forumactif.org/g8-le-personnel"><font color="#FF9B4F" size="3">Le Personnel  </font></a></span> <span class="groupes"><a href="http://incendio.forumactif.org/g9-les-villageois"><font color="#BC70CF" size="3">Les Villageois  </font></a></span> <span class="groupes"><a href="http://incendio.forumactif.org/g10-les-autres"><font color="#9CE0BF" size="3">Les Autres  </font></a></span></center>


<!-- END disable_viewonline -->

{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>  </td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par tupac Dim 18 Sep 2011 - 13:33

Bon ajouter juste avant ( C'est pas trop tôt ) le code suivant.
Code:
<pan class="text_qeel">
Puis en fin de texte juste après ceci ( Et bah les voilà ! ) placer ce code.
Code:
</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: Problème avec des liens

Message par piman Dim 18 Sep 2011 - 23:54

Ah bah c'est parfait ! Merci beaucoup vraiment !

Mais j'aurais juste un dernier problème (je sais j'en demande trop ><)

J'ai un problème pour la couleur de ma barre de navigation. Quand on arrive sur le forum elle est comme ça

Spoiler:

et quand on circule après sur le forum, elle est de couleur #DBDBDB...

Comment faire pour qu'elle soit toujours la même ? (vous avez déjà mon CSS plus haut)

Et encore merci tupac !
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par tupac Lun 19 Sep 2011 - 9:34

Essaye de rajouter ceci.
Code:
color:#FFFFFF;
dans ce code qui se trouve dans ta feuille de style.
Code:
a.mainmenu {
top: 5px;
margin: 5px;
font-family: Arial;
font-size: 11px;
text-color: #dbdbdb;
}
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: Problème avec des liens

Message par piman Mar 20 Sep 2011 - 19:46

J'ai essayé mais ça n'a rien changé Smile
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par tupac Mar 20 Sep 2011 - 22:25

Étrange ça aurait du fonctionner.
Donc faite comme ça
Dans votre template overall_header repérer la partie suivante puis supprimez-la.
Code:
            <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
               <tr>
                  <td  align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</div></td>
               </tr>
            </table>
remplacez-la par celle-ci.
Code:
            <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
               <tr>
                  <td> <div class="barre_nav" align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</div></td>
               </tr>
            </table>
puis dans votre feuille de style css placer le code suivant.
Code:
.barre_nav a{ color:#DBDBDB;}
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: Problème avec des liens

Message par piman Mer 21 Sep 2011 - 0:04

Après essais, ça n'a toujours rien changé, et en plus c'est pu en majuscule (j'avais déjà bien touché à cette template ^^")

Une autre idée ? (pour remettre en majuscule aussi, parce que je sais plus comment faire ^^')
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par tupac Mer 21 Sep 2011 - 0:47

Pouvez-vous me donner votre template overall_header et le lien vers le forum en question svp?
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: Problème avec des liens

Message par piman Mer 21 Sep 2011 - 16:00

Voilà mon 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}">
   <!-- 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 />  </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}">
              <tr>
                  <td> <div class="barre_nav" align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</div></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 -->

Et voilà mon forum (je n'ai pas valider le changement du template donc c'est comme avant)

Incendio
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

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

Résolu Re: Problème avec des liens

Message par tupac Jeu 22 Sep 2011 - 9:55

Bonjour

J'ai donc testé votre template et le css chez moi et ça fonctionne très bien.
Essayez de replacer le template par défaut et de refaire les changements on ne sait jamais.
Et si ça ne fonctionne toujours pas essayez de repérer quelque par dans votre feuille de style cette couleur (22191d) c'est celle du texte de votre barre de navigation peut-être qu'un code fait interaction avec elle.
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: Problème avec des liens

Message par piman Jeu 22 Sep 2011 - 22:16

D'accord merci ^^
J'ai essayé avec la couleur (22191d) mais ça n'a rien donné alors je vais cherché un peu plus loin dans les templates. Merci pour toutes ces réponses et d'avoir pris le temps ! Smile

Bonne soirée =)
piman

piman
**

Féminin
Messages : 98
Inscrit(e) le : 27/04/2011

http://shadowofdeath.forumactif.com
piman 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