modifier un thème sur v3 [Réglé]
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Reprise du message précédent
Tu peux faire comme pour les message voici un exemple :Code CSS :
/* Barre supérieur des messages */ .msg_top_l{ margin-right:0px !important; margin-right:-3px; height:34px; width:29px; background:#91BAD8 url(images/msg_top_l.png) no-repeat left; float:left; } .msg_top_r{ margin-left:0px !important; margin-left:-3px; height:34px; width:29px; background:#91BAD8 url(images/msg_top_r.png) no-repeat right; float:right; } .msg_top { height:25px; background:#FFFFFF url(images/msg_top.png) repeat-x; padding-left:6px; margin-left:20px; margin-right:15px; padding-top:9px; }
Ps : C'est pas les même class c'est normal c'est un exemple , ensuite n'oublie pas de modifier les valeur height te width selon les images .
EDIt : entre temps tu as édité ton message ....
Pour une image fait comme ceci :
Code CSS :
background:url(images/msg_top.png);
tu place ton image dans ../templates/ton thème/images
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009
Code CSS :
/* Modules minis --------------------------------------*/ /*Placement des mini modules */ .module_mini_container{ margin-bottom:20px; } .module_mini_table{ width:180px; background:#AFD2E8 url("images/mini_block.gif") repeat-y; border-bottom:1px solid #7C7D6A; text-align:center; padding:5px; padding-top:5px; } .module_mini_top{ width:156px; height:25px; background:url("images/row1.png") no-repeat; font-weight:bold; color:#FFFFFF; text-align:center; padding-left:5px; padding-top:6px; list-style-type:none; } /* Bordure inférieur des modules minis */ .module_mini_bottom{ margin-top:-1px; height:18px; width:156px; background:url("images/module_bottom.jpg") no-repeat;
Mais j'obtient ça :
Édité par soldier Le 19/03/2009 à 23h05
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet

Mets-le de côté pour ce soir car c'est assez dur à expliquer, je tenterai demain de te faire comprendre le fonctionnement du moteur template de phpboost .
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009
il faut juste maintenant que je sache comment inserer le menu... ( acceuil etc )
J'en suis là :
image pour menu :
gauche :

droit :

sub_header :

separation :
Édité par soldier Le 20/03/2009 à 23h27
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Code CSS :
/* ##### Conteneur en dessous de l'entéte ###### */ div#sub_header,div#sub_header_admin { height:40px; background:url("images/sub_header.jpg") repeat-x; margin-top:-2px; } div#sub_header p a { color:#FFF; } div#sub_header_left{ height:40px; width:110px; background:url("images/sub_header_l.jpg") no-repeat; float:left; } div#sub_header_right{ height:40px; float:right; width:110px; background:url("images/sub_header_r.jpg") no-repeat; }
Code TPL :
<div id="global"> <div class="header_top_l"></div> <div class="header_top_r"></div> <div class="header_top"></div> <div id="header_container"> <div id="header"> # IF C_MENUS_HEADER_CONTENT # {MENUS_HEADER_CONTENT} # ENDIF # </div> <div id="sub_header"> # IF C_MENUS_SUB_HEADER_CONTENT # {MENUS_SUB_HEADER_CONTENT} # ENDIF # <div class="spacer"></div> <div id="sub_header_left"></div> <div id="sub_header_right"></div> </div> </div>
Les images sont à renommer .
Ensuite pour les lien tu les mets ou tu veux avec une class définie et dans ton css tu mets l'image comme séparateur .
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009

pour le code tpl, c'est bien header.tpl ?
Code TPL :
<div id="global"> <!-- Début des modifications --> <div class="header_top_l"></div> <div class="header_top_r"></div> <div class="header_top"></div> <!-- Fin des modifications --> <div id="header_container"> <div id="header"> <h1 style="display:none;font-size:9px;">{SITE_NAME}</h1> # IF C_MENUS_HEADER_CONTENT # {MENUS_HEADER_CONTENT} # ENDIF # </div> <div id="sub_header"> # IF C_MENUS_SUB_HEADER_CONTENT # {MENUS_SUB_HEADER_CONTENT} # ENDIF # <div class="spacer"></div> </div> </div>
il faut bien remplacer ça ?
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Code TPL :
<div id="global"> <!-- Début des modifications --> <div class="header_top_l"></div> <div class="header_top_r"></div> <div class="header_top"></div> <!-- Fin des modifications --> <div id="header_container"> <div id="header"> <h1 style="display:none;font-size:9px;">{SITE_NAME}</h1> # IF C_MENUS_HEADER_CONTENT # {MENUS_HEADER_CONTENT} # ENDIF # </div> <div id="sub_header"> # IF C_MENUS_SUB_HEADER_CONTENT # {MENUS_SUB_HEADER_CONTENT} # ENDIF # <div class="spacer"></div> <div id="sub_header_left"></div> <div id="sub_header_right"></div> </div> </div>
La c'est ok
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009
Code CSS :
/* -------------------------------------- design.css Contient les conteneur, fortement dépendant du design. --------------------------------------*/ /* Corps du site --------------------------------------*/ * { margin:0; padding:0; font-size:100%; } body { background:#E9ECEF url(images/global.png) repeat-x; font-size:12px; font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, 'Bitstream Vera Sans', Times, serif; color:#0E2A48; } /* Conteneurs --------------------------------------*/ /* ##### Conteneur global du site ###### */ div#global { /* Extensible margin:auto 5px; margin-bottom:15px; */ width:1000px; margin:auto; } /* ##### Entéte de la page ###### */ div#header_container,div#header_admin_container { background: url(images/header.png) no-repeat; background-position:0px 0px; margin-bottom:8px; } /* ##### Entéte de la page ###### */ div#header,div#header_admin { height:90px; } /* ##### Conteneur en dessous de l'entéte ###### */ div#sub_header,div#sub_header_admin { height:27px; padding:0; padding-top:10px; padding-left:5px; } div#sub_header p a { color:#FFF; } /* Lien du subheader */ div#header .dynamic_menu h5.links { background:none; border:none; color:#edfff0; width:134px; background:url(images/button.png) no-repeat; padding:5px 0px; font-size:11px; margin-right:1px; } div#header .dynamic_menu h5.links:hover { color:#edfff0; cursor:default; background:url(images/button_click.png) no-repeat; } div#header .dynamic_menu h5 a { color:#FFFFFF; text-decoration:none; } /* ##### Compteur de visites ###### */ div#compteur { color:#E9ECD9; position:absolute; top:50px; right:0; font-size:11px; margin-right:15px; text-align:right; } /* ##### Menu de gauche ###### */ div#left_menu { float:left; width:200px; margin:0; margin-top:10px; margin-right:2px !important; margin-right:-1px; padding:0; } /* ##### Menu droit ###### */ div#right_menu { float:right; width:190px; margin:0; margin-top:10px; margin-left:10px !important; margin-left:7px; } /* ##### Contenu de la page ###### */ div#main { width:auto; min-width:450px; overflow:hidden !important; height:auto !important; overflow:visible; height:1%; padding:0; margin:0; float:none; } /* ##### Contenu central ###### */ div#main_content { width:auto; margin-top:10px; padding:20px 10px; padding-top:0px; border-spacing:1px; border:1px #cccccc solid; background:#F7F8F5 url(images/contentbg.png) repeat-x; -moz-border-radius:12px; -khtml-border-radius:12px; -webkit-border-radius:12px; border-radius:12px; } /* ##### Barre de lien rapide ###### */ div#links { /*width:96%;*/ text-indent:10px; margin-bottom:20px; } /* ##### Emplacement au dessus de contenu de la page ###### */ div#top_contents { margin-top:8px; margin-bottom:8px; } /* ##### Emplacement en dessous de contenu de la page ###### */ div#bottom_contents { margin-top:8px; margin-bottom:8px; } /* ##### Bloc au dessus du pied de page ###### */ div#top_footer { clear:both; padding:0.75em; } /* ##### Pied de page ###### */ div#footer { height:30px; clear:both; margin:auto; margin-top:0px; padding:0px; padding-top:36px; padding-right:20px; text-align:right; background:#F5F4ED url(images/footer.png) repeat-x; } div#footer span { color:#FFF; font-size:10px; } div#footer span a { color:#FFF; font-size:10px; } /* ##### Liens rapides ###### */ div#links_vertical { display:block !important; display:none; position:fixed; background:url(images/vertical_menu_repeat.png) repeat-y; top:45%; margin-left:989px; width:27px; text-align:center; padding-left:2px; } div#links_vertical_top { width:29px; background:url(images/vertical_menu_top.png) no-repeat; text-align:center; margin-left:-2px; padding-top:8px; } div#links_vertical_central { width:27px; text-align:center; margin-left:-2px; padding:4px 0px; } div#links_vertical_bottom { width:29px; background:url(images/vertical_menu_bottom.png) no-repeat; text-align:center; height:32px; margin-left:-2px; } .bglinks { background:url(images/bgmenu_links.jpg) no-repeat bottom right; margin:0px; padding:0px; list-style-type:none; padding-bottom:7px; margin-bottom:5px; } .header_top_l{ margin-right:0px !important; margin-right:-3px; height:50px; width:56px; background:#91BAD8 url(images/header_top_l.png) no-repeat left; float:left; } .header_top_r{ margin-left:0px !important; margin-left:-3px; height:50px; width:45px; background:#91BAD8 url(images/header_top_r.png) no-repeat right; float:right; } .header_top { height:50px; background:#FFFFFF url(images/header_top.png) repeat-x; }
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Code CSS :
/* -------------------------------------- design.css Contient les conteneur, fortement dépendant du design. --------------------------------------*/ /* Corps du site --------------------------------------*/ * { margin:0; padding:0; font-size:100%; } body { background:#E9ECEF url(images/global.png) repeat-x; font-size:12px; font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, 'Bitstream Vera Sans', Times, serif; color:#0E2A48; } /* Conteneurs --------------------------------------*/ /* ##### Conteneur global du site ###### */ div#global { /* Extensible margin:auto 5px; margin-bottom:15px; */ width:1000px; margin:auto; } /* ##### Entéte de la page ###### */ div#header_container,div#header_admin_container { background: url(images/header.png) no-repeat; background-position:0px 0px; margin-bottom:8px; } /* ##### Entéte de la page ###### */ div#header,div#header_admin { height:90px; } /* ##### Conteneur en dessous de l'entéte ###### */ /* ##### Conteneur en dessous de l'entéte ###### */ div#sub_header,div#sub_header_admin { height:40px; background:url("images/sub_header.jpg") repeat-x; margin-top:-2px; } div#sub_header p a { color:#FFF; } div#sub_header_left{ height:40px; width:110px; background:url("images/sub_header_l.jpg") no-repeat; float:left; } div#sub_header_right{ height:40px; float:right; width:110px; background:url("images/sub_header_r.jpg") no-repeat; } /* Lien du subheader */ div#header .dynamic_menu h5.links { background:none; border:none; color:#edfff0; width:134px; background:url(images/button.png) no-repeat; padding:5px 0px; font-size:11px; margin-right:1px; } div#header .dynamic_menu h5.links:hover { color:#edfff0; cursor:default; background:url(images/button_click.png) no-repeat; } div#header .dynamic_menu h5 a { color:#FFFFFF; text-decoration:none; } /* ##### Compteur de visites ###### */ div#compteur { color:#E9ECD9; position:absolute; top:50px; right:0; font-size:11px; margin-right:15px; text-align:right; } /* ##### Menu de gauche ###### */ div#left_menu { float:left; width:200px; margin:0; margin-top:10px; margin-right:2px !important; margin-right:-1px; padding:0; } /* ##### Menu droit ###### */ div#right_menu { float:right; width:190px; margin:0; margin-top:10px; margin-left:10px !important; margin-left:7px; } /* ##### Contenu de la page ###### */ div#main { width:auto; min-width:450px; overflow:hidden !important; height:auto !important; overflow:visible; height:1%; padding:0; margin:0; float:none; } /* ##### Contenu central ###### */ div#main_content { width:auto; margin-top:10px; padding:20px 10px; padding-top:0px; border-spacing:1px; border:1px #cccccc solid; background:#F7F8F5 url(images/contentbg.png) repeat-x; -moz-border-radius:12px; -khtml-border-radius:12px; -webkit-border-radius:12px; border-radius:12px; } /* ##### Barre de lien rapide ###### */ div#links { /*width:96%;*/ text-indent:10px; margin-bottom:20px; } /* ##### Emplacement au dessus de contenu de la page ###### */ div#top_contents { margin-top:8px; margin-bottom:8px; } /* ##### Emplacement en dessous de contenu de la page ###### */ div#bottom_contents { margin-top:8px; margin-bottom:8px; } /* ##### Bloc au dessus du pied de page ###### */ div#top_footer { clear:both; padding:0.75em; } /* ##### Pied de page ###### */ div#footer { height:30px; clear:both; margin:auto; margin-top:0px; padding:0px; padding-top:36px; padding-right:20px; text-align:right; background:#F5F4ED url(images/footer.png) repeat-x; } div#footer span { color:#FFF; font-size:10px; } div#footer span a { color:#FFF; font-size:10px; } /* ##### Liens rapides ###### */ div#links_vertical { display:block !important; display:none; position:fixed; background:url(images/vertical_menu_repeat.png) repeat-y; top:45%; margin-left:989px; width:27px; text-align:center; padding-left:2px; } div#links_vertical_top { width:29px; background:url(images/vertical_menu_top.png) no-repeat; text-align:center; margin-left:-2px; padding-top:8px; } div#links_vertical_central { width:27px; text-align:center; margin-left:-2px; padding:4px 0px; } div#links_vertical_bottom { width:29px; background:url(images/vertical_menu_bottom.png) no-repeat; text-align:center; height:32px; margin-left:-2px; } .bglinks { background:url(images/bgmenu_links.jpg) no-repeat bottom right; margin:0px; padding:0px; list-style-type:none; padding-bottom:7px; margin-bottom:5px; } .header_top_l{ margin-right:0px !important; margin-right:-3px; height:50px; width:56px; background:#91BAD8 url(images/header_top_l.png) no-repeat left; float:left; } .header_top_r{ margin-left:0px !important; margin-left:-3px; height:50px; width:45px; background:#91BAD8 url(images/header_top_r.png) no-repeat right; float:right; } .header_top { height:50px; background:#FFFFFF url(images/header_top.png) repeat-x; }
soldier Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre soldier
- Inscrit le : 17/03/2009
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
renaudpro Membre non connecté
Booster Missile
-
Booster Missile
- Voir le profil du membre renaudpro
- Inscrit le : 27/09/2008
- Groupes :
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie
