Pagina 1 van 1

forum achtergrond kleur

Geplaatst: 02 feb 2004, 17:31
door nightfire
Hey Mensen

Ik probeer me forum background 1 kleur te krijgen.

http://www.flesj.com/forum

Maar ik krijg alleen de laaste rand orange. Maar daarbinnen blijft gewoon wit. En de lijn er om heen blijft ook zijn eigen kleur houden. Hoe krijg ik dit goed?

Geplaatst: 02 feb 2004, 18:05
door Cheeta
Kan je allemaal terugvinden in je css!!

mzzl 8)

Geplaatst: 02 feb 2004, 18:10
door nightfire
Kom er gewoon niet uit. Wie helpt me :|

Geplaatst: 02 feb 2004, 18:25
door Podium4
ik zie dat je site'tje op subsilver is gebouwd.... dan moeten we in ieder geval in de overall_header.tpl zijn en niet in de css...:

Zoek:

/* This is the border line & background colour round the entire page */
.bodyline { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

Nu zie je dus dat T_TD_COLOR2 de achtergrond kleur is van deze cellen... die T_TD_COLOR2 word dus ergens genoemd met daarbij een een kleurcode...

die staat dus in includes/page_header.php :
'T_TD_COLOR2' => '#'.$theme['td_color2'],

nu kunnen we in theme_info.cfg dit weer gaan opzoeken:
$subSilver[0]['td_color2'] = "FFFFFF";

Maak nu van die FFFFFF iets leuks... geel is bijvoorbeeld 00FF00

Geplaatst: 02 feb 2004, 19:05
door nightfire
Heb ut geprobeerd. Maar het lukt niet :S
Me achtergrondkleur: FFCC66

En hier me bewerkte theme bestand:

Code: Selecteer alles

<?php

//
// phpBB 2.x auto-generated theme config file for subSilver
// Do not change anything in this file!
//

$subSilver[0]['template_name'] = "subSilver";
$subSilver[0]['style_name'] = "subSilver";
$subSilver[0]['head_stylesheet'] = "subSilver.css";
$subSilver[0]['body_background'] = "";
$subSilver[0]['body_bgcolor'] = "E5E5E5";
$subSilver[0]['body_text'] = "000000";
$subSilver[0]['body_link'] = "006699";
$subSilver[0]['body_vlink'] = "5493B4";
$subSilver[0]['body_alink'] = "";
$subSilver[0]['body_hlink'] = "DD6900";
$subSilver[0]['tr_color1'] = "EFEFEF";
$subSilver[0]['tr_color2'] = "DEE3E7";
$subSilver[0]['tr_color3'] = "D1D7DC";
$subSilver[0]['tr_class1'] = "";
$subSilver[0]['tr_class2'] = "";
$subSilver[0]['tr_class3'] = "";
$subSilver[0]['th_color1'] = "98AAB1";
$subSilver[0]['th_color2'] = "006699";
$subSilver[0]['th_color3'] = "FFFFFF";
$subSilver[0]['th_class1'] = "cellpic1.gif";
$subSilver[0]['th_class2'] = "cellpic3.gif";
$subSilver[0]['th_class3'] = "cellpic2.jpg";
$subSilver[0]['td_color1'] = "FAFAFA";
$subSilver[0]['td_color2'] = "FFCC66";
$subSilver[0]['td_color3'] = "";
$subSilver[0]['td_class1'] = "row1";
$subSilver[0]['td_class2'] = "row2";
$subSilver[0]['td_class3'] = "";
$subSilver[0]['fontface1'] = "Verdana, Arial, Helvetica, sans-serif";
$subSilver[0]['fontface2'] = "Trebuchet MS";
$subSilver[0]['fontface3'] = "Courier, \'Courier New\', sans-serif";
$subSilver[0]['fontsize1'] = "10";
$subSilver[0]['fontsize2'] = "11";
$subSilver[0]['fontsize3'] = "12";
$subSilver[0]['fontcolor1'] = "444444";
$subSilver[0]['fontcolor2'] = "006600";
$subSilver[0]['fontcolor3'] = "FFA34F";
$subSilver[0]['span_class1'] = "";
$subSilver[0]['span_class2'] = "";
$subSilver[0]['span_class3'] = "";
$subSilver[0]['img_size_poll'] = "0";
$subSilver[0]['img_size_privmsg'] = "0";

?>

Geplaatst: 02 feb 2004, 19:19
door WebSiteNet
Dat bestand moet je niet bewerken! Je moet het bij de css doen wat podium4 zei.

Geplaatst: 02 feb 2004, 19:35
door mosymuis
Klopt, het bestand wat je daar aanreikte wordt alleen gebruikt bij het importeren van die waardes naar de database.

Geplaatst: 02 feb 2004, 19:53
door nightfire
Ik kan dat niet vinden in me .css file
Heb alleen in de bovenste regel wat veranderd. En daardoor kreeg ik die ene achtergrond kleur. Heb daaronder nog wat proberen te veranderen, maar zonder effect

Code: Selecteer alles

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	background-color: #FFCC66;
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color:  #006699;
	scrollbar-track-color: #EFEFEF;
	scrollbar-darkshadow-color: #98AAB1;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #006699; }
a:hover		{ text-decoration: underline; color : #DD6900; }
hr	{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}


/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #FFFFFF; border: 1px #98AAB1 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #FFFFFF; border: 2px #006699 solid; }


/* Main table cell colours and backgrounds */
td.row1	{ background-color: #EFEFEF; }
td.row2	{ background-color: #DEE3E7; }
td.row3	{ background-color: #D1D7DC; }


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #FFCC66;
		background-image: url(images/cellpic2.jpg);
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #FFA34F; font-size: 11px; font-weight : bold;
	background-color: #006699; height: 25px;
	background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/cellpic1.gif);
			background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px;
}


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; }
td.row3Right,td.spaceRow {
	background-color: #D1D7DC; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
			text-decoration: none; line-height : 120%; color : #000000;
}


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #DD6900; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000 }
a.mainmenu		{ text-decoration: none; color : #006699;  }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }


/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699}
a.cattitle		{ text-decoration: none; color : #006699; }
a.cattitle:hover{ text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink 	{ text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; color : #006699; }
a.nav:hover		{ text-decoration: underline; }


/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #006699; }
a.topictitle:visited { text-decoration: none; color : #5493B4; }
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px;}
a.postlink:link	{ text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}


/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}


/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");

Geplaatst: 02 feb 2004, 21:25
door Leipo
Tis al opgelost zo te zien.
Anders staat ie nog op regel 10 of 11, begint met backgroudn :wink: