Vous n'êtes pas identifié(e).

Annonce

Bienvenue sur Geek-Community !

Veuillez vous connecter ou vous inscrire pour pouvoir poster sur le forum.!

#1 15-05-2011 14:45:26

MedaKoke
Apprenti
Lieu : 404 Nøt Føund
Age: 22
Inscription : 07-05-2011
Messages : 165
Site Web
Hors ligne Hors ligne

[Résolu] Logo header

Salut, voilà je n'arrive pas à mettre un logo header dans le Css comme sur votre forum :

191072Sanstitre2.png

Et je voudrais enlever le titre donc le remplacer par un logo :

http://www.hostingpics.net/viewer.php?i … titre1.png

Mes infos :


Et mon site : http://gamingnow.hebergratuit.com/forum/index.php

Mon Css :

/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/

/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/Solid_Blue_cs.css);

/****************************************************************/
/* 2. TEXT SETTINGS */
/****************************************************************/

/* 2.1 This sets the default Font Group */

.pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}

.pun {FONT-SIZE: 11px; LINE-HEIGHT: normal}

/* IEWin Font Size only - to allow IEWin to zoom. Do not remove comments \*/
* HTML .pun {FONT-SIZE: 68.75%}
/* End IE Win Font Size */

/* Set font size for tables because IE requires it */
.pun TABLE, .pun INPUT, .pun SELECT, .pun OPTGROUP, .pun TEXTAREA, DIV.postmsg P.postedit {FONT-SIZE: 1em}

/* 2.2 Set the font-size for preformatted text i.e in code boxes */

.pun PRE {FONT-FAMILY: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace}

/* 2.3 Font size for headers */

.pun H2, .pun H4 {FONT-SIZE: 1em}
.pun H3 {FONT-SIZE: 1.1em}
#brdtitle H1 {FONT-SIZE: 1.4em}

/* 2.4 Larger text for particular items */

DIV.postmsg P {LINE-HEIGHT: 1.4}
DIV.postleft DT {FONT-SIZE: 1.1em}
.pun PRE {FONT-SIZE: 1.2em}

/* 2.5 Bold text */

DIV.postleft DT, DIV.postmsg H4, TD.tcl H3, DIV.forminfo H3, P.postlink, DIV.linkst LI,
DIV.linksb LI, DIV.postlinksb LI, .blockmenu LI, #brdtitle H1, .pun SPAN.warntext, .pun P.warntext {FONT-WEIGHT: bold}

/****************************************************************/
/* 3. LINKS */
/****************************************************************/

/* 3.1 Remove underlining for main menu, post header links, post links and vertical menus */

#brdmenu A:link, #brdmenu A:visited, .blockpost DT A:link, .blockpost DT A:visited, .blockpost H2 A:link,
.blockpost H2 A:visited, .postlink A:link, .postlink A:visited, .postfootright A:link, .postfootright A:visited,
.blockmenu A:link, .blockmenu A:visited {
	TEXT-DECORATION: none
}

/* 3.2 Underline on hover for links in headers and main menu */

#brdmenu A:hover, .blockpost H2 A:hover {TEXT-DECORATION: underline}

/****************************************************************/
/* 4. BORDER WIDTH AND STYLE */
/****************************************************************/

/* 4.1 By default borders are 1px solid */

DIV.box, .pun TD, .pun TH, .pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL {
	BORDER-STYLE: solid;
	BORDER-WIDTH: 1px
}

/* 4.2 Special settings for the board header. */

#brdheader DIV.box {BORDER-TOP-WIDTH: 4px}

/* 4.3 Borders for table cells */

.pun TD, .pun TH {
	BORDER-BOTTOM: none;
	BORDER-RIGHT: none
}

.pun .tcl {BORDER-LEFT: none}

/* 4.4 Special setting for fieldsets to preserve IE defaults */

DIV>FIELDSET {
	BORDER-STYLE: solid;
	BORDER-WIDTH: 1px
}

/****************************************************************/
/* 5. VERTICAL AND PAGE SPACING */
/****************************************************************/

/* 5.1 Page margins */

HTML, BODY {MARGIN: 0; PADDING: 0}
#punwrap {margin:12px 20px}

/* 5.2 Creates vertical space between main board elements (Margins) */

DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 12px}
#punindex DIV.blocktable, DIV.blockpost {MARGIN-BOTTOM: 6px}
DIV.block2col DIV.blockform, DIV.block2col DIV.block {MARGIN-BOTTOM: 0px}

/* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */

DIV.linkst, DIV.linksb {MARGIN-TOP: -12px}
DIV.postlinksb {MARGIN-TOP: -6px}

/* 5.4 Put a 12px gap above the board information box in index because the category tables only
have a 6px space beneath them */

#brdstats {MARGIN-TOP: 12px}

/****************************************************************/
/* 6. SPACING AROUND CONTENT */
/****************************************************************/

/* 6.1 Default padding for main items */

DIV.block DIV.inbox, DIV.blockmenu DIV.inbox {PADDING: 3px 6px}
.pun P, .pun UL, .pun DL, DIV.blockmenu LI, .pun LABEL, #announce DIV.inbox DIV {PADDING: 3px 0}
.pun H2 {PADDING: 4px 6px}

/* 6.2 Special spacing for various elements */

.pun H1 {PADDING: 3px 0px 0px 0}
#brdtitle P {PADDING-TOP: 0px}
DIV.linkst {PADDING: 8px 6px 3px 6px}
DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px}
#brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT  {LINE-HEIGHT: 1.4em}
#viewprofile DT, #viewprofile DD {PADDING: 0 3px; LINE-HEIGHT: 2em}

/* 6.4 Create some horizontal spacing for various elements */

#brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT  {MARGIN-RIGHT: 12px}

/****************************************************************/
/* 7. SPACING FOR TABLES */
/****************************************************************/

.pun TH, .pun TD {PADDING: 4px 6px}
.pun TD P {PADDING: 5px 0 0 0}

/****************************************************************/
/* 8. SPACING FOR POSTS */
/****************************************************************/

/* 8.1 Padding around left and right columns in viewtopic */

DIV.postleft DL, DIV.postright {PADDING: 6px}

/* 8.2 Extra spacing for poster contact details and avatar */

DD.usercontacts, DD.postavatar {MARGIN-TOP: 5px}
DD.postavatar {MARGIN-BOTTOM: 5px}

/* 8.3 Extra top spacing for signatures and edited by */

DIV.postsignature, DIV.postmsg P.postedit {PADDING-TOP: 15px}

/* 8.4 Spacing for code and quote boxes */

DIV.postmsg H4 {MARGIN-BOTTOM: 10px}
.pun BLOCKQUOTE, DIV.codebox {MARGIN: 5px 15px 15px 15px; PADDING: 8px}

/* 8.5 Padding for the action links and online indicator in viewtopic */

DIV.postfootleft P, DIV.postfootright UL, DIV.postfootright DIV {PADDING: 10px 6px 5px 6px}

/* 8.6 This is the input on moderators multi-delete view */

DIV.blockpost INPUT, DIV.blockpost LABEL {
	PADDING: 3px;
	DISPLAY: inline
}

P.multidelete {
	PADDING-TOP: 15px;
	PADDING-BOTTOM: 5px
}

/* 8.7 Make sure paragraphs in posts don't get any padding */

DIV.postmsg P {PADDING: 0}

/****************************************************************/
/* 9. SPECIAL SPACING FOR FORMS */
/****************************************************************/

/* 9.1 Padding around fieldsets */

DIV.blockform FORM, DIV.fakeform {PADDING: 20px 20px 15px 20px}
DIV.inform {PADDING-BOTTOM: 12px}

/* 9.2 Padding inside fieldsets */

.pun FIELDSET {PADDING: 0px 12px 0px 12px}
DIV.infldset {PADDING: 9px 0px 12px 0}
.pun LEGEND {PADDING: 0px 6px}

/* 9.3 The information box at the top of the registration form and elsewhere */

DIV.forminfo {
	MARGIN-BOTTOM: 12px;
	PADDING: 9px 10px
}

/* 9.4 BBCode help links in post forms */

UL.bblinks LI {PADDING-RIGHT: 20px}

UL.bblinks {PADDING-BOTTOM: 10px; PADDING-LEFT: 4px}

/* 9.5 Horizontal positioning for the submit button on forms */

DIV.blockform P INPUT {MARGIN-LEFT: 12px}

/****************************************************************/
/* 10. POST STATUS INDICATORS */
/****************************************************************/

/* 10.1 These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/

div.icon {
    float: left;
    display: block;
    width:50px;
    height:50px;
}
DIV.searchposts DIV.icon {MARGIN-LEFT: 0}

/* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The
margin creates space for the post status indicator */

TD DIV.tclcon {MARGIN-LEFT: 2.3em}

Mon Import :

/****************************************************************/
/* 1. background AND TEXT COLOURS */
/****************************************************************/

/* 1.1 Default background colour and text colour */

html BODY { margin:10px;
background-color: #111;
	background-image : url(../../img/Solid_Blue/page_bg.jpg);
background-repeat : repeat-x; 
background-position : 0% 0%; 
}

.pun {COLOR: #EEE}

BODY #punwrap 
{
margin:auto; background-color:#05335A;
width: 85%;
padding: 8px;
BORDER-WIDTH: 1px;
BORDER-STYLE:SOLID;
BORDER-COLOR:  #777 #666 #666 #777
}

/*
.pun #brdheader div.box{
	background-image : url(../../img/<stylename>/banner.png); 
background-repeat : no-repeat; 
background-position : 0% 0%; 
}

.pun H1 { padding:0; margin:0; display:block; height: 80px;}
.pun H1 span{ display:none }
.pun #brdtitle p{ position:absolute; top:90px;}
*/

/* icon in h2 */
.pun H2 span {
background-position : 0% 50%; 
background-repeat : no-repeat; 
	background-image : url(../../img/Solid_Blue/arrow.gif); 
padding : 15px;
margin-left:-3px; 
} 
/*icon h2 no repeat*/
.pun H2 span.conr {
background-image : none; 
padding : 0; 
}



DIV.box, #adminconsole FIELDSET TH, .rowodd, .roweven {background-color: #333; }
#adminconsole TD, #adminconsole TH {BORDER-COLOR: #333}

.pun BLOCKQUOTE, DIV.codebox {background-color: #333; }

/* 1. 2 Darker background colours */

TD.tc2, TD.tc3, TD.tcmod, #postpreview, #viewprofile DD, DIV.forminfo,
#adminconsole FIELDSET TD, DIV.blockmenu DIV.box, #adstats DD {background-color: #444;}

/* 1.3 Main headers and navigation bar background and text colour */

.pun H2, #brdmenu {background-color: #0066B9;
	background-image : url(../../img/Solid_Blue/h2.gif);
COLOR: #FFF}


/* 1.4 Table header rows */

.pun TH {background-color: #444;}

/* 1.5 Fieldset legend text colour */

.pun LEGEND {COLOR: #0066B9}

/* 1.6 Highlighted text for various items */

.pun DIV.blockmenu LI.isactive A, #posterror LI STRONG {COLOR: #EEE}

/****************************************************************/
/* 2. POST backgroundS AND TEXT */
/****************************************************************/

/* 2.1 This is the setup for posts. */

DIV.blockpost DIV.box, DIV.postright, DIV.postfootright {background-color: #444}
DIV.postright, DIV.postfootright {BORDER-LEFT-COLOR: #333}
DIV.postleft, DIV.postfootleft, DIV.blockpost LABEL {background-color: #333}

/* 2.2 Background for post headers and text colour for post numbers in viewtopic */


DIV.blockpost H2 {background-color: #0066B9;}

DIV.blockpost H2 SPAN.conr {COLOR: #AAA}

/* 2.3 This is the line above the signature in posts. Colour and background should be the same */

.pun HR {background-color: #CCC; COLOR: #CCC}

/****************************************************************/
/* 3. BORDER COLOURS */
/****************************************************************/

/* 3.1 All external borders */

DIV.box {BORDER-COLOR: #0066B9}

/* 3.2 Makes the top border of posts match the colour used for post headers */

DIV.blockpost DIV.box {BORDER-COLOR: #0066B9 #0066B9 #0066B9}

/* 3.3 Table internal borders. By default TH is same as background so border is invisible */

.pun TD {BORDER-COLOR: #606060} 
.pun TH {BORDER-COLOR: #444444}

/* 3.4 Creates the inset border for quote boxes, code boxes and form info boxes */

.pun BLOCKQUOTE, DIV.forminfo, DIV.blockpost LABEL {BORDER-COLOR: #0066B9 #0066B9 #0066B9 #0066B9}

.pun DIV.codebox{BORDER-COLOR: #ACA899 #FFF #FFF #ACA899}

/* 3.5 Gecko's default fieldset borders are really nasty so this gives them a colour
without interferring with IE's rather nice default */

.pun DIV>FIELDSET {BORDER-COLOR: #ACA899}

/****************************************************************/
/* 4. LINK COLOURS */
/****************************************************************/

/* 4.1 This is the default for all links */

.pun A:link, .pun A:visited {COLOR: #0066B9}
.pun A:hover {COLOR: #B42000}

/* 4.2 This is the colour for links in header rows and the navigation bar */

.pun H2 A:link, .pun H2 A:visited, #brdmenu A:link, #brdmenu A:visited {COLOR: #FFF}
.pun H2 A:hover, #brdmenu A:hover {COLOR: #FFF}

/* 4.3 This is for closed topics and "hot" links */

LI.postreport A:link, LI.postreport A:visited, TR.iclosed TD.tcl A:link, TR.iclosed TD.tcl A:visited {COLOR: #888}
LI.postreport A:hover, TR.iclosed TD.tcl A:hover {COLOR: #AAA}
LI.maintenancelink A:link, LI.maintenancelink A:visited {COLOR: #B42000}
LI.maintenancelink A:hover {COLOR: #B42000}

/****************************************************************/
/* 5. POST STATUS INDICATORS */
/****************************************************************/

/* These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. The default is "icon". By default only .inew is different.*/


TR.iclosed Div.icon {
background-image : url(../../img/Solid_Blue/locked_post.png);
width : 50px;
height : 50px;
} 
Div.icon {
background-image : url(../../img/Solid_Blue/no_new_post.png);
width : 50px;
height : 50px; 
} 
TR.iredirect Div.icon {
background-image : url(../../img/Solid_Blue/pix.gif); 
} 
TR.inew Div.icon {
background-image : url(../../img/Solid_Blue/new_post.png); 
} 
TR.isticky DIV.icon {
background-image : url(../../img/Solid_Blue/sticky_post.png);
}
TR.istickynew DIV.icon {
background-image : url(../../img/Solid_Blue/new_post.png);
}
TR.imoved DIV.icon {
background-image : url(../../img/Solid_Blue/pix.gif);
}


.pun #brdmenu {
background-image: url(../../img/Solid_Blue/h2.gif);
background-position: bottom;
background-repeat: repeat-x;
}

.pun #brdmenu { 
padding-left: 4px;
padding-top: 6px;
padding-bottom: 4px;
}

.pun #brdmenu ul { padding: 4px; margin-top:-4px; }
.pun #brdmenu li { margin:0; padding:0; margin-left:-4px; }

.pun #brdmenu a 
{ 
padding: 6px;
padding-top: 6px;
padding-bottom: 8px;
}

.pun #brdmenu a:link, .pun #brdmenu a:visited
{ 
COLOR: #fff;
background-image: url(../../img/Solid_Blue/h2.gif);
}

.pun #brdmenu a:hover
{
COLOR: #FFF;
text-decoration: none;
background-image: url(../../img/Solid_Blue/h2h.gif);
}

En vous remerciant

Dernière modification par MedaKoke (15-05-2011 15:44:39)


443536AG.png

#2 15-05-2011 15:11:20

Cr@sh_
Administrateur
Lieu : /home/crash
Age: 26
Inscription : 24-01-2011
Messages : 4 724
Site Web
Hors ligne Hors ligne

Re : [Résolu] Logo header

Tu dois d'abord modifier les fichiers templates (.tpl) dans le dossier /include/template, tu dois modifier le fichier main.tpl, admin.tpl

Remplace ceci:

<div id="brdheader" class="block">
	<div class="box">
		<div id="brdtitle" class="inbox">
			<pun_title>
			<pun_desc>
		</div>
		<pun_navlinks>
		<pun_status>
	</div>
</div>

Par:

<div id="brdheader" class="block">
<div id="brdtitle" class="inbox"> </div>
<pun_navlinks>
<div class="box">
<pun_status>
</div>
</div>

Maintenant que les templates sont fait, on va faire le CSS.

Dans le fichier Ton_Style_cs.css mets ceci:

/* 1.7 Logo */

#brdtitle {background : url(../../lien/vers/ton/image.jpg) no-repeat center top; height : 200px; margin:0 ;padding:0 ; border: none; }
#brdheader  {border-style: none}

Remplace lien/vers/ton/image.jpg par le lien de ton image sur ton FTP, et height : 200px par la hauteur que tu veux wink


L'anarchisme symbolise la libération de l'esprit humain, de l’aliénation de la religion, la libération du corps humain, de la domination et la propriété, la libération des chaines qui nous lies a l’oppression des gouvernements. Il défend un ordre social fondé sur la libre association entre individu.

userbar-geek-community.gif

#3 15-05-2011 15:55:54

Yueyue
Vétéran
Inscription : 24-01-2011
Messages : 1 485
Hors ligne Hors ligne

Re : [Résolu] Logo header

Bonjour,

Le topic a été fermé car il est résolu.

Pour plus d'informations, merci de contacter le membre du staff qui a fermé le topic.

Le staff Geek-Community.


"Il y a un adage qui dit qu'on fait du mal à ceux qu'on aime, mais il oublie de dire qu'on aime ceux qui nous font du mal"

Bienvenue sur le forum !
Merci de vous inscrire ou de vous connecter pour profiter pleinement de toutes les fonctions :).