Bannière fond + fond
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1 • Partagez
Bannière fond + fond
Bonjour,
Je souhaiterais savoir comment on fais pour accroché le fond + une bannière fond sur le forum.
C'est parce que je n'y parviens pas sans retirer la texture de fond.
Merci d'avance,
Cordialement
Je souhaiterais savoir comment on fais pour accroché le fond + une bannière fond sur le forum.
C'est parce que je n'y parviens pas sans retirer la texture de fond.
Merci d'avance,
Cordialement
Dernière édition par La ptite Voix le Lun 24 Oct 2011 - 15:35, édité 1 fois
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Bonsoir,
J'ai déja lus ce sujet mais je n'y comprend rien, je ne vais pas vous le cacher :S
J'ai déja lus ce sujet mais je n'y comprend rien, je ne vais pas vous le cacher :S
Re: Bannière fond + fond
repérez ceci dans le template overall_header :
nous allons y ajouter une div qui contiendra votre logo :
puis dans votre css rajoutez :
- Code:
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<!-- BEGIN hitskin_preview -->
nous allons y ajouter une div qui contiendra votre logo :
- Code:
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<div class="entete"> </div>
<!-- BEGIN hitskin_preview -->
puis dans votre css rajoutez :
/*fond*/
body {
background-image:url("adresse de votre fond");
}
/*logo*/
.entete {
background-image:url("adresse de votre logo");
background-repeat: no-repeat;
background-position: top center;
height : hauteur de votre imagepx;
width : largeur de votre imagepx;
position : absolute;
}
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Bonsoir,
J'ai suivis le tuto et voici le résultat, tout est au dessus:
http://new-hope.forumgratuit.be/
J'ai suivis le tuto et voici le résultat, tout est au dessus:
http://new-hope.forumgratuit.be/
Re: Bannière fond + fond
Puis-je avoir ce que vous avez mis dans la css ?
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Bonjour,
Le voici:
merci d'avance
Le voici:
- Code:
a.forumlink{
background-color: #6B6A6A;
border-bottom: 5px double #262526;
color:8ab8d9;
font-family: sans-serif;
font-size: 12px;
font-weight: lighter;
letter-spacing: 1px;
display:block;
text-align: center;
}
.quote
{
background-color: #151415;
background-repeat: repeat-y;
background-position: top center;
}
.spoiler
{
background-color: #393839;
background-repeat: repeat-y;
background-position: top center;
}
.code
{
background-color: #393839;
background-repeat: repeat-y;
background-position: top center;
}
a.forumlink:hover{
font-family: georgia;
font-size: 12px;
font-weight: lighter;
letter-spacing: 1px;
text-align: center;}
body
{
background-color: #6B6A6A;
background-repeat: repeat-y;
background-position: top center;
}
.bodylinewidth
{
width: 900px;
}
#i_logo
{
margin-top: -18px;
margin-bottom: -115px;
}
.mainmenu
{
margin-right: -5px;
}
a.mainmenu
{
color: #bcbcbc;
}
a.mainmenu:hover
{
text-decoration: none !important;
color: #e9f4e8;
}
#page-body
{
width: 893px;
background-image: url(http://host.image.files.free.fr/host/4c4c6ff952740skin_04.png);
background-repeat: repeat-y;
margin-top: 80px;
padding-bottom: 30px;
}
.forumline
{
max-width: 850px;
margin: auto;
background-color: #9e9e9e;
border-radius: 10px;
-moz-border-radius: 10px;
border: 1px solid #545454;
padding: 4px;
}
table
{
max-width: 850px;
margin: auto;
}
.cattitle
{
display: block;
font-variant: small-caps;
text-align: center;
}
th
{
text-align: left;
font-variant: small-caps;
}
#page-footer
{
background-image: url(https://lh5.googleusercontent.com/-ot9Q4YFtedo/Tlec7KNx_rI/AAAAAAAAAA4/yCkf4ITWhNk/mercivisite.png);
background-repeat: no-repeat;
width: 978px;
height: 200px;
margin-bottom: -18px;
background-position: top center;
margin: auto;}
#page-footer a
{
font-size: 10px;
}
.catcadre {
background-color : #757777;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
padding : 5px;
}
.dersuj {
border : 5px solid #4c4c4c;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
padding : 5px;
margin-right : 20px;
}
.newlock {
background-color : 5px solid #4c4c4c;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
padding : 5px;
position : relative;
left : 10px;
}
.forumline {
background: none repeat scroll 0 0 #5f5e60;
border: 2px solid #484848;
border-radius: 20px;
padding: 5px;
}
a.forumlink {
background-color:#68005;
margin:15px;
padding:10px;
font-size:20px;
letter-spacing:-1px;
font-family:georgia;
text-align:center;
font-style:italic;
text-shadow: 1px 1px 3px #344d54;
color:#898989; }
/*Puces invisibles*/
ul, li{
list-style: none;}
/*qeel*/
.qeel {
border : 5px solid #262626;
background-color : #5b5c5e;
padding : 10px;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
}
/*onglets*/
.onglets {
width:150px;
padding : 5px;
margin : 10px;
border : 5px solid #262626;
background-color : #888989;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
}
/*partie ou apparaisent les stats*/
.stats{
padding : 5px;
border : 5px solid #262626;
background-color : #888989;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
}
/*ne pas effacer*/
.trans .row1 {
background-color : transparent;
}
/*ne pas effacer*/
#kaboum .row1 {
background-color : transparent;
}
.stats{
padding : 5px;
border : 5px solid #262626;
background-color : #888989;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
text-align : center;
}
/* PA */
#accueil {
width:90%;
margin:auto;
font-family:Narkisim;
padding:20px 10px 10px 10px;
}
#accueil a {
color:#c6c6c7;
}
.navigation, .bienvenue, .membresactifs {
width:40%;
margin:auto;
margin-bottom:15px;
}
.navigationh2 {
color:#a8a8a9;
width:100%;
margin:auto;
text-align:center;
font-style:italic;
text-shadow:1px 1px 1px #000000;
font-family:"Times New Roman", Times, serif;
font-size:30px;
}
.navigationdesc {
color:#808080;
width:100%;
margin:auto;
text-align:center;
margin:7px 0px 15px 0px;
font-size:13px;
text-transform:uppercase;
text-shadow:1px 1px 1px #888888;
letter-spacing:0.4em;
}
.navigationtexte {
font-family:Georgia, "Times New Roman", Times, serif;
text-transform:uppercase;
}
.navigationlien {
width:100%;
background-color:#808080;
text-align:center;
border-right:4px solid #c3c3c3;
border-bottom:1px solid #c8c8c8;
border-left:4px solid #b4b4b4
-moz-border-radius:5px;
display:block;
margin-top:1px;
}
.navigationlien:hover {
width:100%;
background-color:#8c8d8d;
text-align:center;
border-right:4px solid #6b6d6e;
border-bottom:1px solid #767676;
border-left:4px solid #6e6f6f;
-moz-border-radius:5px;
display:block;
}
.commentaire {
font-size:10px;
font-style:italic;
text-transform:none;
}
.bienvenueh2 {
color:#d7d7d7;
width:100%;
margin:auto;
text-align:center;
font-style:italic;
text-shadow:1px 1px 1px #000000;
font-family:"Times New Roman", Times, serif;
font-size:30px;
}
.bienvenuedesc {
color:#a9a9a9;
width:100%;
margin:auto;
text-align:center;
margin:0px 0px 15px 30px;
font-size:14px;
text-transform:uppercase;
text-shadow:1px 1px 1px #888888;
letter-spacing:0.4em;
}
.partenaires, .membresactifs, .description, .notrelogo {
width:45%;
margin:auto;
float:left;
margin-top:35px;
}
.notrelogo {
clear:both;
}
.partenairesh2, .avisiterh2, .membresactifsh2, .staffh2, .descriptionh2, .nouvellesh2, .notrelogoh2 {
color:#c3c3c5;
width:100%;
margin:auto;
margin-left:15px;
font-size:18px;
text-shadow:0px 0px 4px #888888;
letter-spacing:2px;
font-style:italic;
font-family:"Times New Roman", Times, serif;
text-transform:uppercase;
text-align:left;
}
.partenairesh2:before, .avisiterh2:before, .membresactifsh2:before, .staffh2:before, .descriptionh2:before, .nouvellesh2:before, .notrelogoh2:before {
content:"» ";
}
.partenairesh2:after, .avisiterh2:after, .membresactifsh2:after, .staffh2:after, .descriptionh2:after, .nouvellesh2:after, .notrelogoh2:after {
content:" «";
}
.partenairesdesc, .avisiterdesc, .membresactifsdesc, .staffdesc, .descriptiondesc, .nouvellesdesc, .notrelogodesc {
color:#c3c3c5;
width:100%;
margin:auto;
margin:0px 0px 5px 40px;
font-size:14px;
text-shadow:1px 1px 1px #888888;
letter-spacing:1px;
font-style:italic;
font-family:"Times New Roman", Times, serif;
text-transform:lowercase;
text-align:left;
}
.partenairestexte, .avisitertexte, .membresactifstexte, .stafftexte, .descriptiontexte, .nouvellestexte, .notrelogotexte {
border:1px solid #7b7b7b;
background-color:#5f5e5e;
padding:2px;
box-shadow:2px 2px 2px #000000;
-moz-box-shadow:2px 2px 2px #000000;
-webkit-box-shadow:2px 2px 2px #000000;
text-align:left;
}
.avisiter, .staff, .nouvelles, .nepascopier {
width:45%;
margin:auto;
float:right;
margin-top:35px;
}
.membresactifs {
clear:both;
}
.descriptionh3 {
font-weight:bold;
font-family:"Times New Roman", Times, serif;
font-style:italic;
letter-spacing:1px;
color:#b2b2b2;
font-size:12px;
margin:0px 0px 0px 15px;
}
.infobulle {
position:relative;
display:inline;
margin-right:5px;
}
.infobulle span {
display:none;
}
.infobulle:hover {
background:none;
z-index: 999;
}
.infobulle:hover span {
display:inline;
position:absolute;
white-space:nowrap;
top:5px;
left:15px;
border:1px solid #acacad;
background-color:#878787;
padding:2px;
box-shadow:2px 2px 2px #000000;
-moz-box-shadow:2px 2px 2px #000000;
-webkit-box-shadow:2px 2px 2px #000000;
}
.nepascopier {
text-align:right;
font-weight:bold;
font-family:"Times New Roman", Times, serif;
text-shadow:0px 0px 4px #888888;
color:#b4b4b4;
float:right;
margin-top:85px;
}
/* ------------------------------------ {QUI EST EN LIGNE} --------------------------------------------------------------------------------------------------------- */
.qeel_start
{
padding: 8px;
background-color: #696868;
border: 2px solid #1f1f1e;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.groupes
{
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px !important;
text-shadow: #040404 1px 1px 1px;
background-color: #aaaaaa;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.qeel_align
{
background-color:#787877;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
padding: 10px;
margin-right: 5px;
vertical-align: top;
}
.qeel_birth
{
padding: 0px;
background-color:#787877;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.qeel_texte
{
text-align: justify;
width: 330px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.texte_qui
{
padding-left: 0px;
padding-right: 0px;
}
a { text-decoration:none; }
a:hover { text-decoration: none!important; }
----------------------------------groupes-------------------------------
.bullegroup{
position: relative;
z-index: 0;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px !important;
text-shadow: #040404 1px 1px 1px;
background-color: #aaaaaa;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;}
.bullegroup:hover{
background-color: transparent;
z-index: 50;}
.bullegroup span{
position: absolute;
background-color: #000000;
padding: 5px;
left: -1000px;
visibility: hidden;
color: #FFFFFF;}
.bullegroup span img{
border: 2px;
padding: 5px;}
.bullegroup:hover span{
visibility: visible;
top: 70px;
left: 35px;
width: 200px ;
color:#FF0000;
border: 2px solid #0000FF;}
---------------------------------------------------
/*fond*/
body {
background-image:url("http://i40.servimg.com/u/f40/16/80/60/54/fond10.jpg");
}
/*logo*/
.entete {
background-image:url("http://nsa21.casimages.com/img/2011/10/19/11101908394983204.jpg");
background-repeat: no-repeat;
background-position: top center;
height : 600px;
width : 1200px;
position : absolute;
}
merci d'avance
Re: Bannière fond + fond
Vous avez deux fois des
ensuite supprimez la partie en rouge.
Est-ce mieux ?
- Code:
---------------------------------------------------
ensuite supprimez la partie en rouge.
/*logo*/
.entete {
background-image:url("https://nsa21.casimages.com/img/2011/10/19/11101908394983204.jpg");
background-repeat: no-repeat;
background-position: top center;
height : 600px;
width : 1200px;
position : absolute;
}
Est-ce mieux ?
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Je ne dirait pas pire, il faut que vous enleviez le logo dans la gestion des images par contre. et au moins ce n'est plus au dessus de vos options.
Par contre je me demande où est passée votre barre de navigation. Puis réavoir votre template overall_header de nouveau ?
Par contre je me demande où est passée votre barre de navigation. Puis réavoir votre template overall_header de nouveau ?
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Bonjour,
Voici mon CSS, index_body et le overall header:
Css:
Index_body:
Voici mon CSS, index_body et le overall header:
Css:
- Code:
a.forumlink{
background-color: #6B6A6A;
border-bottom: 5px double #262526;
color:8ab8d9;
font-family: sans-serif;
font-size: 12px;
font-weight: lighter;
letter-spacing: 1px;
display:block;
text-align: center;
}
.quote
{
background-color: #151415;
background-repeat: repeat-y;
background-position: top center;
}
.spoiler
{
background-color: #393839;
background-repeat: repeat-y;
background-position: top center;
}
.code
{
background-color: #393839;
background-repeat: repeat-y;
background-position: top center;
}
a.forumlink:hover{
font-family: georgia;
font-size: 12px;
font-weight: lighter;
letter-spacing: 1px;
text-align: center;}
body
{
background-color: #6B6A6A;
background-repeat: repeat-y;
background-position: top center;
}
.bodylinewidth
{
width: 900px;
}
#i_logo
{
margin-top: -18px;
margin-bottom: -115px;
}
.mainmenu
{
margin-right: -5px;
}
a.mainmenu
{
color: #bcbcbc;
}
a.mainmenu:hover
{
text-decoration: none !important;
color: #e9f4e8;
}
#page-body
{
width: 893px;
background-image: url(http://host.image.files.free.fr/host/4c4c6ff952740skin_04.png);
background-repeat: repeat-y;
margin-top: 80px;
padding-bottom: 30px;
}
.forumline
{
max-width: 850px;
margin: auto;
background-color: #9e9e9e;
border-radius: 10px;
-moz-border-radius: 10px;
border: 1px solid #545454;
padding: 4px;
}
table
{
max-width: 850px;
margin: auto;
}
.cattitle
{
display: block;
font-variant: small-caps;
text-align: center;
}
th
{
text-align: left;
font-variant: small-caps;
}
#page-footer
{
background-image: url(https://lh5.googleusercontent.com/-ot9Q4YFtedo/Tlec7KNx_rI/AAAAAAAAAA4/yCkf4ITWhNk/mercivisite.png);
background-repeat: no-repeat;
width: 978px;
height: 200px;
margin-bottom: -18px;
background-position: top center;
margin: auto;}
#page-footer a
{
font-size: 10px;
}
.catcadre {
background-color : #757777;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
padding : 5px;
}
.dersuj {
border : 5px solid #4c4c4c;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
padding : 5px;
margin-right : 20px;
}
.newlock {
background-color : 5px solid #4c4c4c;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
padding : 5px;
position : relative;
left : 10px;
}
.forumline {
background: none repeat scroll 0 0 #5f5e60;
border: 2px solid #484848;
border-radius: 20px;
padding: 5px;
}
a.forumlink {
background-color:#68005;
margin:15px;
padding:10px;
font-size:20px;
letter-spacing:-1px;
font-family:georgia;
text-align:center;
font-style:italic;
text-shadow: 1px 1px 3px #344d54;
color:#898989; }
/*Puces invisibles*/
ul, li{
list-style: none;}
/*qeel*/
.qeel {
border : 5px solid #262626;
background-color : #5b5c5e;
padding : 10px;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
}
/*onglets*/
.onglets {
width:150px;
padding : 5px;
margin : 10px;
border : 5px solid #262626;
background-color : #888989;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
}
/*partie ou apparaisent les stats*/
.stats{
padding : 5px;
border : 5px solid #262626;
background-color : #888989;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
}
/*ne pas effacer*/
.trans .row1 {
background-color : transparent;
}
/*ne pas effacer*/
#kaboum .row1 {
background-color : transparent;
}
.stats{
padding : 5px;
border : 5px solid #262626;
background-color : #888989;
-moz-border-radius: 20px ;
-webkit-border-radius:20px;
-border-radius:20px;
-khtml-border-radius:20px;
text-align : center;
}
/* PA */
#accueil {
width:90%;
margin:auto;
font-family:Narkisim;
padding:20px 10px 10px 10px;
}
#accueil a {
color:#c6c6c7;
}
.navigation, .bienvenue, .membresactifs {
width:40%;
margin:auto;
margin-bottom:15px;
}
.navigationh2 {
color:#a8a8a9;
width:100%;
margin:auto;
text-align:center;
font-style:italic;
text-shadow:1px 1px 1px #000000;
font-family:"Times New Roman", Times, serif;
font-size:30px;
}
.navigationdesc {
color:#808080;
width:100%;
margin:auto;
text-align:center;
margin:7px 0px 15px 0px;
font-size:13px;
text-transform:uppercase;
text-shadow:1px 1px 1px #888888;
letter-spacing:0.4em;
}
.navigationtexte {
font-family:Georgia, "Times New Roman", Times, serif;
text-transform:uppercase;
}
.navigationlien {
width:100%;
background-color:#808080;
text-align:center;
border-right:4px solid #c3c3c3;
border-bottom:1px solid #c8c8c8;
border-left:4px solid #b4b4b4
-moz-border-radius:5px;
display:block;
margin-top:1px;
}
.navigationlien:hover {
width:100%;
background-color:#8c8d8d;
text-align:center;
border-right:4px solid #6b6d6e;
border-bottom:1px solid #767676;
border-left:4px solid #6e6f6f;
-moz-border-radius:5px;
display:block;
}
.commentaire {
font-size:10px;
font-style:italic;
text-transform:none;
}
.bienvenueh2 {
color:#d7d7d7;
width:100%;
margin:auto;
text-align:center;
font-style:italic;
text-shadow:1px 1px 1px #000000;
font-family:"Times New Roman", Times, serif;
font-size:30px;
}
.bienvenuedesc {
color:#a9a9a9;
width:100%;
margin:auto;
text-align:center;
margin:0px 0px 15px 30px;
font-size:14px;
text-transform:uppercase;
text-shadow:1px 1px 1px #888888;
letter-spacing:0.4em;
}
.partenaires, .membresactifs, .description, .notrelogo {
width:45%;
margin:auto;
float:left;
margin-top:35px;
}
.notrelogo {
clear:both;
}
.partenairesh2, .avisiterh2, .membresactifsh2, .staffh2, .descriptionh2, .nouvellesh2, .notrelogoh2 {
color:#c3c3c5;
width:100%;
margin:auto;
margin-left:15px;
font-size:18px;
text-shadow:0px 0px 4px #888888;
letter-spacing:2px;
font-style:italic;
font-family:"Times New Roman", Times, serif;
text-transform:uppercase;
text-align:left;
}
.partenairesh2:before, .avisiterh2:before, .membresactifsh2:before, .staffh2:before, .descriptionh2:before, .nouvellesh2:before, .notrelogoh2:before {
content:"» ";
}
.partenairesh2:after, .avisiterh2:after, .membresactifsh2:after, .staffh2:after, .descriptionh2:after, .nouvellesh2:after, .notrelogoh2:after {
content:" «";
}
.partenairesdesc, .avisiterdesc, .membresactifsdesc, .staffdesc, .descriptiondesc, .nouvellesdesc, .notrelogodesc {
color:#c3c3c5;
width:100%;
margin:auto;
margin:0px 0px 5px 40px;
font-size:14px;
text-shadow:1px 1px 1px #888888;
letter-spacing:1px;
font-style:italic;
font-family:"Times New Roman", Times, serif;
text-transform:lowercase;
text-align:left;
}
.partenairestexte, .avisitertexte, .membresactifstexte, .stafftexte, .descriptiontexte, .nouvellestexte, .notrelogotexte {
border:1px solid #7b7b7b;
background-color:#5f5e5e;
padding:2px;
box-shadow:2px 2px 2px #000000;
-moz-box-shadow:2px 2px 2px #000000;
-webkit-box-shadow:2px 2px 2px #000000;
text-align:left;
}
.avisiter, .staff, .nouvelles, .nepascopier {
width:45%;
margin:auto;
float:right;
margin-top:35px;
}
.membresactifs {
clear:both;
}
.descriptionh3 {
font-weight:bold;
font-family:"Times New Roman", Times, serif;
font-style:italic;
letter-spacing:1px;
color:#b2b2b2;
font-size:12px;
margin:0px 0px 0px 15px;
}
.infobulle {
position:relative;
display:inline;
margin-right:5px;
}
.infobulle span {
display:none;
}
.infobulle:hover {
background:none;
z-index: 999;
}
.infobulle:hover span {
display:inline;
position:absolute;
white-space:nowrap;
top:5px;
left:15px;
border:1px solid #acacad;
background-color:#878787;
padding:2px;
box-shadow:2px 2px 2px #000000;
-moz-box-shadow:2px 2px 2px #000000;
-webkit-box-shadow:2px 2px 2px #000000;
}
.nepascopier {
text-align:right;
font-weight:bold;
font-family:"Times New Roman", Times, serif;
text-shadow:0px 0px 4px #888888;
color:#b4b4b4;
float:right;
margin-top:85px;
}
/* ------------------------------------ {QUI EST EN LIGNE} --------------------------------------------------------------------------------------------------------- */
.qeel_start
{
padding: 8px;
background-color: #696868;
border: 2px solid #1f1f1e;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.groupes
{
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px !important;
text-shadow: #040404 1px 1px 1px;
background-color: #aaaaaa;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.qeel_align
{
background-color:#787877;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
padding: 10px;
margin-right: 5px;
vertical-align: top;
}
.qeel_birth
{
padding: 0px;
background-color:#787877;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.qeel_texte
{
text-align: justify;
width: 330px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.texte_qui
{
padding-left: 0px;
padding-right: 0px;
}
a { text-decoration:none; }
a:hover { text-decoration: none!important; }
/*----------------------------------groupes------------------------------- /*
.bullegroup{
position: relative;
z-index: 0;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px !important;
text-shadow: #040404 1px 1px 1px;
background-color: #aaaaaa;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;}
.bullegroup:hover{
background-color: transparent;
z-index: 50;}
.bullegroup span{
position: absolute;
background-color: #000000;
padding: 5px;
left: -1000px;
visibility: hidden;
color: #FFFFFF;}
.bullegroup span img{
border: 2px;
padding: 5px;}
.bullegroup:hover span{
visibility: visible;
top: 70px;
left: 35px;
width: 200px ;
color:#FF0000;
border: 2px solid #0000FF;}
---------------------------------------------------
/*fond*/
body {
background-image:url("http://i40.servimg.com/u/f40/16/80/60/54/fond10.jpg");
}
/*logo*/
.entete {
background-image:url("http://nsa21.casimages.com/img/2011/10/19/11101908394983204.jpg");
background-repeat: no-repeat;
background-position: top center;
height : 600px;
width : 1200px;
}
Index_body:
- 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}">
<div class="entete"> </div>
<!-- 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>
<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 -->
Re: Bannière fond + fond
Il vous manque effectivement le code de la barre de navigation. L'aviez vous mise à un endroit particulier où se situait-elle comme à l'origine sur le forum ?
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Je pense que c'est celle de base :S
Re: Bannière fond + fond
Dans votre template, entre
rajoutez :
Vous devriez retrouver votre barre de navigation ^^
- Code:
<!-- END switch_logo_right -->
</tr>
</table>
- Code:
<div style="clear: both;"></div>
<!-- BEGIN switch_ticker_new -->
rajoutez :
- Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
<tr>
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
</tr>
</table>
Vous devriez retrouver votre barre de navigation ^^
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Vous parlez de l'index_body ?
J'ai beau chercher le code dedans je ne le trouve pas ...
J'ai beau chercher le code dedans je ne le trouve pas ...
Re: Bannière fond + fond
non de l'overall_header excusez moi j'ai oublié de le préciser --'
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Pas de soucis,
EDit : Cest ffait ça marche, la barre de navigation est présente mais toujours le bug ?
EDit : Cest ffait ça marche, la barre de navigation est présente mais toujours le bug ?
Re: Bannière fond + fond
Si le bug dont vous parlez est l'image qui ne s'affiche pas elle se trouve dans la gestion des images > mode avancé > onglet général > logo du forum. c'est cela qu'il faut enlever.
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Donc si je comprend bien, il faut que je masque l'endroit " logo du forum" et que je mes la bannière en fond?
Es ce que les codes de fusions vont fonctionner?
Es ce que les codes de fusions vont fonctionner?
Re: Bannière fond + fond
^^ vous etes perdus à force je comprend alors je vous explique. Vous désiriez un logo qui fasse tout la longueur du forum plus un fond imagé ce qui n'est possible qu'en insérant le tout dans le overall_header.
Actuellement vous avez : votre logo dans l'overall_header grace à un code css, votre fond dans la css. Celui dans la gestion des images est donc en surplus.
Par contre je pense qu'il faudra centrer le logo dans l'overall_header, je comptais vous l'expliquer ensuite car vous semblez novice au niveau gestion des templates. Ne vous inquiétez pas ^^ nous y arriverons.
Actuellement vous avez : votre logo dans l'overall_header grace à un code css, votre fond dans la css. Celui dans la gestion des images est donc en surplus.
Par contre je pense qu'il faudra centrer le logo dans l'overall_header, je comptais vous l'expliquer ensuite car vous semblez novice au niveau gestion des templates. Ne vous inquiétez pas ^^ nous y arriverons.
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Bonsoir,
Merci pour l'aide que tu m'apporte !
Je viens de supprimer toutes les images des gestions des images et c'est déja un peu mieux, mais tout est décalé donc j'attend la suite des instructions, voici l'adresse du forum pour que vous voyez la différence:
http://new-hope.forumgratuit.be/
Il y a juste un autre soucis, on n'arrive plus à cliquer sur la bannière , il me faut donc comme logo du forum une image en transparence ?
Merci pour l'aide que tu m'apporte !
Je viens de supprimer toutes les images des gestions des images et c'est déja un peu mieux, mais tout est décalé donc j'attend la suite des instructions, voici l'adresse du forum pour que vous voyez la différence:
http://new-hope.forumgratuit.be/
Il y a juste un autre soucis, on n'arrive plus à cliquer sur la bannière , il me faut donc comme logo du forum une image en transparence ?
Re: Bannière fond + fond
^^ Nous allons voir justement cela.
Changez
Y'a-t-il encore un problème ? si de décalage du logo ajoutez dans la css à .entete avant le }
en ajustant la taille de gauche à droite en modifiant le 10
Changez
- Code:
<div class="entete">
- Code:
<center><a href="{U_INDEX}"><div class="entete"> </div></a></center>
Y'a-t-il encore un problème ? si de décalage du logo ajoutez dans la css à .entete avant le }
- Code:
position : relative;
left : 10px;
en ajustant la taille de gauche à droite en modifiant le 10
SoraNoHime- Membre actif
-
Messages : 6218
Inscrit(e) le : 10/06/2010
Re: Bannière fond + fond
Bonjour,
Je te remercie, c'est impeccable ça marche!
Je te remercie mille fois pour avoir pris le temps de m'aider!
Le sujet est donc résolu!
Je te remercie, c'est impeccable ça marche!
Je te remercie mille fois pour avoir pris le temps de m'aider!
Le sujet est donc résolu!
Sujets similaires
» Comment mettre une image en fond lorsque notre bannière est déjà le fond ?
» Mettre une bannière-fond un fond
» CSS : Bannière en fond + image de fond
» Bannière de fond et fond ne s'affiche pas
» (Bannière en fond) en gardant un Fond.
» Mettre une bannière-fond un fond
» CSS : Bannière en fond + image de fond
» Bannière de fond et fond ne s'affiche pas
» (Bannière en fond) en gardant un Fond.
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum