Supprimer certaines fonctions du menu

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

Résolu Supprimer certaines fonctions du menu

Message par Pouss' Mar 12 Avr 2011 - 21:38

Bonsoir,

Après recherche, désirant supprimer les fonctions 'FAQ' et 'Rechercher' de mon menu, j'ai trouvé la solution suivante pour la fonction 'Rechercher' :
Code:
#search-box {display: none;}

Je l'ai appliquée dans mon CSS, mais cela ne fonctionne pas... la fonction est toujours là. Les sujets parlant de ce problème étant tous fermés, je n'ai pas pu y poster pour demander votre aide, désolée :s

Je vous mets mon CSS au cas où ce serait un de mes codes qui empêche celui-ci de fonctionner... ?

Code:
/*Contour du forum interne arrondi*/
.forumline{
-moz-border-radius: 15px ;
-webkit-border-radius:15px;
-ô-border-radius:15px;
-khtml-border-radius:15px;
background-color: #020717;
padding: 1px;
border: 7px #192248 solid;
}

/*Enlever cadres indésirables*/
td.catLeft {
border-width:0 0 0 0px !important;
}
td.catBottom {
border-width:0 0px 0px !important;
}
td.catHead {
border-width:0px 0px 0 !important;
font-size:12px;
}
td.catLeft {
border-width:0 0 0 0px !important;
}
th, p {
border-width:0 0 0 0px !important;
}

/* Texte justifié */
.postbody {
text-align: justify;
padding:8px;
}

/* Plus de "édité le par" */
tr.post span.gensmall { display: none; }

/*Couleur admin et fiche de présentation*/
span.admin {color: #7D5214; font-weight: bold; text-shadow: #000000 1px 1px 1px;}

/*Arrondi dans les zones de texte*/
textarea, .textarea.post, input.post, input {
-moz-border-radius:15px;
-webkit-border-radius:15px;
-ô-border-radius:15px;
-khtml-border-radius:15px;
border-radius:15px;
}

/*Liens en majuscules pas soulignés pas gras*/
a:link, a:visited, a:hover, a:hover:visited {
font-variant: small-caps;
text-decoration: none;
letter-spacing: 1px;
outline:none;
text-decoration: none !important;
}
.name span strong {
 font-weight: normal;
font-size:12px;
}
a span strong {
 font-weight: normal;
font-size:12px;
}

/*Header*/
body {
background-repeat: no-repeat;
background-position: top center;
}

/*Menu*/
a.mainmenu:link, a.mainmenu:visited{
text-align:center;
background-color:#050A1F; 
-moz-border-radius: 10px;
-webkit-border-radius:10px;
-ô-border-radius:10px;
-khtml-border-radius:10px;
border-radius:10px;
border-bottom: 4px #1D264A solid;
border-top: 4px #1D264A solid;
border-right: 4px #1D264A solid;
border-left: 4px #1D264A solid;
padding-right:6px;padding-left:6px;
font-size:12px;
font-weight: bold;
text-decoration: none !important;
}

a.mainmenu:hover, a.mainmenu:hover:visited {
text-align:center;
background-color:#050A1F; 
-moz-border-radius: 10px;
-webkit-border-radius:10px;
-ô-border-radius:10px;
-khtml-border-radius:10px;
border-radius:10px;
border-bottom: 4px #1D264A solid;
border-top: 4px #0b1027 solid;
border-right: 4px #1D264A solid;
border-left: 4px #0b1027 solid;
padding-right:6px;padding-left:6px;
font-size:12px;
font-weight: bold;
text-decoration: none !important;
}

a.mainmenu img {
display:none;
}

#search-box {display:none;}



/*Cadres catégories*/
.class1 {
-moz-border-radius: 15px ;
-webkit-border-radius:15px;
-ô-border-radius:15px;
-khtml-border-radius:15px;
border: 7px #192248 solid;
background-color:#020717;
}

.class2 {
font-variant: small-caps;
font-color: #ffffff;
letter-spacing:3px;
padding-right:10px;
padding-left:10px;
background-color:#020717;
border-top: 4px #7D5214 double;
border-right: 1px #7D5214 solid;
border-left: 1px #7D5214 solid;
-moz-border-radius: 15px ;
-webkit-border-radius:15px;
-ô-border-radius:15px;
-khtml-border-radius:15px;
}

/*Titre catégorie*/
.topictitle, h1, h2 {
font-size: 12px;
}

/*Description catégories*/
.catégories {width:80%; padding:4px; font-size:12px; text-align:justify; background-color:#070e29; -moz-border-radius: 10px; -webkit-border-radius:10px;-ô-border-radius:10px;-khtml-border-radius:10px;border-radius:10px; border-left:4px double #7D5214; border-right:4px double #7D5214;
}

/*Liens des catégories*/
a.forumlink {width:90%; align:center; text-align:center; background-color:#192248; display:block; -moz-border-radius: 10px; -webkit-border-radius:10px;-ô-border-radius:10px;-khtml-border-radius:10px;border-radius:10px;
}
a.forumlink:hover {width:90%; text-align:center; background-color:#0b1027; display:block; -moz-border-radius: 10px; -webkit-border-radius:10px;-ô-border-radius:10px;-khtml-border-radius:10px;border-radius:10px;
}



/* QEEL */
.statistiques{
text-align:justify;
-moz-border-radius: 10px ;
-webkit-border-radius:10px;
-ô-border-radius:10px;
-khtml-border-radius:10px;
border-radius:10px;
border: 5px #192248 solid ;
background-color:#020717;
width:900px;
background-image:url(http://i56.tinypic.com/2r5stg0.jpg);
background-repeat: no-repeat;
background-position: top right; }

.position_qeel{
text-align:justify;
valign:top;
}

.groupes{
background-color:#050A1F;
border: 1px #1D264A dashed;
-moz-border-radius: 6px;
-webkit-border-radius:6px;
-ô-border-radius:6px;
-khtml-border-radius:6px;
border-radius:6px;
width:120px; height:20px;
text-align:center; 
font-size:11px;
font-weight: bold;
text-decoration: none !important;}

.textestats {
width: 350px;
border:2px #7d5214 solid ;
background-color:#050A1F;
-moz-border-radius: 10px;
-webkit-border-radius:10px;
-ô-border-radius:10px;
-khtml-border-radius:10px;
border-radius:10px; }

.connectés {
width: 350px;
align:justify;
vertical-align:bottom;
padding-top:75px; }



/*Avatar profil bordure*/
.postdetails.poster-profile a img {
border: black 5px solid;
-moz-border-radius: 10px;
 -webkit-border-radius:10px; -ô-border-radius:10px; -khtml-border-radius:10px;
}

/*Couleur fond feuille perso*/
textarea, input, select {
    background-color: #050A1F;
}

/*Champs profil*/
.profil {
padding:7px;
width:85%;
border:black 1px solid;
background-color:#050A1F;
background-image:url('http://i52.tinypic.com/34t8nf7.jpg');
-moz-border-radius:10px;
 -webkit-border-radius:10px; -ô-border-radius:10px; -khtml-border-radius:10px; }

.labelprofil {
color:#7D5214;
text-shadow:#7D5214 0px 0px 2px; }


/*Demande partenariat*/
.pubcadre {
background-color:#020717; border: solid ; border-width:20px ; border-color: #777FA3; width:600px ; -moz-border-radius: 20px; -webkit-border-radius:20px; -ô-border-radius:20px; -khtml-border-radius:20px;
}
.pubtitre {
font-size: 35pt; font-family: georgia; text-shadow:black 3px 3px 3px; LETTER-SPACING:-4px; color: #1D264A;
}
.pubsouligné {
BACKGROUND-COLOR:  #1D264A; width: 430px; height: 5px; TEXT-ALIGN: center; -moz-border-radius-bottomright: 45px; -moz-border-radius-bottomleft: 45px;  -webkit-border-radius-bottomright:45px; -ô-border-radius-bottomright:45px; -khtml-border-radius-bottomright:45px;  -webkit-border-radius-bottomleft:45px; -ô-border-radius-bottomleft:45px; -khtml-border-radius-bottomleft:45px;
}
.pubsoustitre {
font-size: 20pt; font-family: georgia; text-shadow:black 3px 3px 3px; LETTER-SPACING:-2px; color: #1D264A;
}


/*Code spoiler quote*/
.code {
background-color: #1D264A;
border: 2px #777FA3 solid;
-moz-border-radius: 15px; -webkit-border-radius:15px; -ô-border-radius:15px; -khtml-border-radius:15px;
color: #C2C0C0;
font-size:12px;
padding:5px;
-moz-box-shadow: 0px 0px 10px #000000 inset;
  box-shadow: 0px 0px 10px #000000 inset;
-webkit-box-shadow: 0px 0px 10px #000000 inset;
}

.quote {
border: 2px #777FA3 solid; 
-moz-border-radius: 15px; -webkit-border-radius:15px; -ô-border-radius:15px; -khtml-border-radius:15px;
color: #C2C0C0;
font-style:italic;
background-color: #1D264A;
background-repeat: no-repeat !important;
background-position: left top !important;
padding-right: 10px;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
-moz-box-shadow: 0px 0px 10px #000000 inset;
  box-shadow: 0px 0px 10px #000000 inset;
-webkit-box-shadow: 0px 0px 10px #000000 inset;
}

.spoiler_content{
border: 2px #777FA3 solid; 
-moz-border-radius: 15px; -webkit-border-radius:15px; -ô-border-radius:15px; -khtml-border-radius:15px;
color: #C2C0C0;
background-color:#1D264A;
padding-right: 10px;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
-moz-box-shadow: 0px 0px 10px #000000 inset;
  box-shadow: 0px 0px 10px #000000 inset;
-webkit-box-shadow: 0px 0px 10px #000000 inset;
}

.spoiler_closed{
border: 2px #777FA3 solid;
-moz-border-radius: 15px; -webkit-border-radius:15px; -ô-border-radius:15px; -khtml-border-radius:15px;
color: #C2C0C0;
background-color:#1D264A;
padding-right: 10px;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
-moz-box-shadow: 0px 0px 10px #000000 inset;
  box-shadow: 0px 0px 10px #000000 inset;
-webkit-box-shadow: 0px 0px 10px #000000 inset;
}


/*Contexte*/
.cadrecontexte {
background-color: #1d295d;
width: 600px;
height: 25px;
padding-top: 10px;
-moz-border-radius: 10px;
 -webkit-border-radius:10px; -ô-border-radius:10px; -khtml-border-radius:10px; }

/*Fiches de présentation*/
.titreprésentation {
background-color:#01030D;
-moz-border-radius: 20px;
 -webkit-border-radius:20px; -ô-border-radius:20px; -khtml-border-radius:20px;
border: 10px #121833 double;
padding-top:5px; }

.nomprésentation {
text-shadow:white 0px 0px 2px;
font-georgia: Palatino Linotype;
color:white;
font-variant : small-caps;
font-size : 28px;}

span.feat {
font-variant : small-caps;
font-size : 11px;}

.fondprésentation1 {
background-color: #01030D;
border: 15px #01030D solid;
-moz-border-radius: 20px;
 -webkit-border-radius:20px; -ô-border-radius:20px; -khtml-border-radius:20px;}

.fondprésentation2 {
background-color: #01030D;
width: 85%;
border: 15px #01030D solid;
-moz-border-radius: 20px;
 -webkit-border-radius:20px; -ô-border-radius:20px; -khtml-border-radius:20px;}

.bordurephoto {
width:550px;
height:300px;
-moz-border-radius: 20px;
 -webkit-border-radius:20px; -ô-border-radius:20px; -khtml-border-radius:20px;
border: 10px #020717 solid;}

.bordureexterne {
width:570px;
height:320px;
-moz-border-radius: 20px;
 -webkit-border-radius:20px; -ô-border-radius:20px; -khtml-border-radius:20px;
border: 10px #000000 solid;}

.nomperso {
text-shadow:white 0px 0px 2px;
font-georgia: Palatino Linotype;
color:grey; }

.citation {
font-size:12px;
color:white;
text-shadow:white 0px 0px 2px;}

.textecatpresa {
text-align:right;
margin-right:30px;
font-size:25px;
font-family: Georgia;
color:white;
text-shadow:white 0px 0px 2px;}

.lignecatpresa {
margin:auto;
height:3px;
width:93%;
background-color: white;
color:white;}

Merci beaucoup d'avance !


Dernière édition par Pouss' le Mer 13 Avr 2011 - 22:27, édité 1 fois
Pouss'

Pouss'
**

Messages : 50
Inscrit(e) le : 01/05/2009

http://angels-breaking-up.forumactif.com/
Pouss' a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer certaines fonctions du menu

Message par Invité Mar 12 Avr 2011 - 21:48

Bonsoir,

Il n'est pas possible de retirer ces liens de la barre de navigation, vous pouvez cependant régler les permissions spéciales pour qu'ils soient visibles uniquement pas les administrateurs.
Panneau d'admin' > Utilisateurs & Groupes > Permissions spéciales.

Une autre solution consiste à n'afficher que les images de la barre de liens, et mettre une image vide (https://2img.net/i/fa/subsilver/empty.gif) pour les liens que vous souhaitez cacher.

Cordialement.
Anonymous

Invité
Invité


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

Résolu Re: Supprimer certaines fonctions du menu

Message par Pouss' Mer 13 Avr 2011 - 22:27

J'ai opté pour la première option, au moins les membres n'auront plus le menu trop long, eux Smile

Merci beaucoup pour votre aide !
Pouss'

Pouss'
**

Messages : 50
Inscrit(e) le : 01/05/2009

http://angels-breaking-up.forumactif.com/
Pouss' 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