Hintergrundfarbe durch Hintergrundbild ersetzen

Probleme bei der regulären Arbeiten mit phpBB, Fragen zu Vorgehensweisen oder Funktionsweise sowie sonstige Fragen zu phpBB im Allgemeinen.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
Dominik Müller
Mitglied
Beiträge: 494
Registriert: 08.08.2004 19:04
Wohnort: Siegbach
Kontaktdaten:

Hintergrundfarbe durch Hintergrundbild ersetzen

Beitrag von Dominik Müller »

Hallo zusammen,

habe ein phpbb Plus Board und will nun die Hintergrundfarbe durch ein Bild ersetzen.
Nur weiß ich absolut nicht, was ich dafür in der css-Datei ändern muss...

Hier die Datei:

Code: Alles auswählen

/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+
Edited by Daz  - http://www.forumimages.com - last updated 26-06-03 */

/* The content of the posts (body of text) */
body{background:#EBF6EB;color:#000000;font:12px Verdana,Arial,Helvetica,sans-serif;margin:6px;padding:0;
scrollbar-3dlight-color:#C5E6C5;
scrollbar-arrow-color:#2D6A2D;
scrollbar-darkshadow-color:#7FC87F;
scrollbar-face-color:#D5ECD5;
scrollbar-highlight-color:#ffffff;
scrollbar-shadow-color:#D6EDD6;
scrollbar-track-color:#E8F5E8}

/* General font families for common tags */
font,th,td,p{font:12px Verdana,Arial,Helvetica,sans-serif}

/* General text */
.gensmall{font-size:10px}
td.genmed,.genmed{font-size:11px}
.explaintitle{font-size:11px;font-weight:bold;color:#42A842}

/* General page style */
a:link,a:active,a:visited,a.postlink{color:#296129;text-decoration:none}
a:hover{color:#dd6900}

/* titles for the topics:could specify viewed link colour too */
.topictitle{font-size:11px;font-weight:bold}
a.topictitle:visited{color:#3D8D3D}
a.topictitle:hover{color:#dd6900}

/* titles for the statistics mod tables only */
.cattitle{font-size:11px;font-weight:bold}
a.cattitle:visited{color:#51B451}
a.cattitle:hover{color:#dd6900}

/* titles for the topics:could specify viewed link colour too */
td.cathead{font-weight:bold;letter-spacing:1px;background:#D6EDD6 url(images/cellpic1.gif);
height:29px;text-indent:4px}

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

hr{border: 0px solid #ffffff;border-top-width:1px;height:0px}

/* Category gradients*/
td.cat{font-weight:bold;letter-spacing:1px;background:#D6EDD6 url(images/cellpic1.gif);
height:29px;text-indent:4px}

/* Main table cell colours and backgrounds */
.row1{background:#E8F5E8}
.row2,.helpline{background:#D6EDD6}
.row3{background:#CFEACF}
td.spacerow{background:#CBE8CB}

/* This is for the table cell above the Topics,Post & Last posts on the index.php */
td.rowpic{background:url(images/cellpic2.jpg) #ffffff repeat-y}

/* Table Header cells */
th{background:#357C35 url(images/cellpic3.gif);color:#DEF1DE;font-size:11px;
font-weight:bold;height:27px;white-space:nowrap;text-align:center;padding-left:8px;padding-right:8px}

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

/* This is the outline round the main forum tables */
.forumline{background:#ffffff;border:1px solid #2D6A2D}

/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1{
font:bold 20px/120% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;text-decoration:none;color:#55B655}

.subtitle,h2{font:bold 18px/180% "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
text-decoration:none}

/* Used for the navigation text,(Page 1,2,3 etc) and the navigation bar when in a forum */
.nav{font-size:11px;font-weight:bold}
.postbody{font-size:12px;line-height:125%}

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

/* Quote blocks */
.quote{background:#F7FCF7;border:1px solid #BEE3BE;font-size:11px;line-height:125%}
.quotediv{background:#F7FCF7;border: 1px solid #85CA85;border-top:0; padding:5px;overflow:auto;width:90%;text-align:left}

/* Code blocks */
.code{background:#F7FCF7;border:1px solid #C5E6C5;color:#006600;
font:12px Courier,"Courier New",sans-serif;padding:5px}

/* This is for the error messages that pop up */
.errorline{background:#B3DEB3;border:1px solid #2D6A2D}

/* Form elements */
form{display:inline}

input{font:11px Verdana,Arial,Helvetica,sans-serif}

select{background:#ffffff;font:11px Verdana,Arial,Helvetica,sans-serif}

input.post,textarea.post{background:#ffffff;border:1px solid #000000;
font:11px Verdana,Arial,Helvetica,sans-serif;padding-bottom:2px;padding-left:2px}

input.button,input.liteoption,.fakebut{border:1px solid #000000;background:#F7FCF7;font-size:11px}
input.catbutton{border:1px solid #000000;background:#F7FCF7;font-size:10px}
input.mainoption{border:1px solid #000000;background:#F7FCF7;font-size:11px;font-weight:bold}

a.but,a.but:hover,a.but:visited{color:#000000;text-decoration:none}

/* This is the line in the posting page which shows the rollover
help line. Colour value in row2 */
.helpline{border:0 solid;font-size:10px}

/* This is the gradient background at the top of the page */
.topbkg{background: #D9EED9 url(images/cellpic_bkg.jpg) repeat-x}
.topnav{font-size:10px;background: #E4F3E4 url(images/cellpic_nav.gif) repeat-x;color:#dd6900;
height:21px;white-space:nowrap;border: 0px solid #91a0ae;border-width: 1px 0px 1px 0px}

/* Admin & Moderator Colours MODification */
.admin,.mod{font-size:11px;font-weight:bold}
.admin,a.admin,a.admin:visited{color:#ffa34f}
.mod,a.mod,a.mod:visited{color:#006600}
a.admin:hover,a.mod:hover{color:#dd6900}

/* Specify the space around images */
.imgtopic,.imgicon{margin-left:3px}
.imgspace{margin-left:1px;margin-right:2px}
.imgfolder{margin:1px 4px 1px 4px}

/* Gets rid of the need for border="0" on hyperlinked images */
img{border:0 solid}

/* Background images for tables */
.tbl{border-collapse:collapse;height:4px;width:100%}
.tbll{background: url(images/tb4_l.gif) no-repeat;width:8px}
.tblbot{background: url(images/tb4_m.gif) repeat-x;width:100%}
.tblr{background: url(images/tb4_r.gif) no-repeat;width:8px}

/* Code blocks */ 
.codetitle{background: #C4E5C4;border:1px solid #85CA85;padding:5px;width:90%;font-weight:bold; text-align:left; 
margin-top:10px} 
.codediv{background:#F7FCF7;border: 1px solid #85CA85;color:#006600;border-top:0; 
font:12px Courier,"Courier New",sans-serif;padding:5px;overflow:auto;width:90%;height:50px;text-align:left}

/* FI Colour Palette MOD - START */
.colouter,.col{border:1px solid #000;margin-left:10px}
.colouter{border-right-width:0;cursor:pointer}
.col{margin:0;padding:0 0 0 7px;display:inline;border-width:1px 1px 0 0;font-size:7px}
/* FI Colour Palette MOD - END */

abbr, acronym {
	border-bottom: 1px dotted #333;
	cursor: help;
}

.imgfade{filter:alpha(opacity=50); -moz-opacity:0.5;margin-left:3px}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1;margin-left:3px} 
Grüße
Dominik
Mario Siebert
Mitglied
Beiträge: 2295
Registriert: 09.12.2003 15:02
Wohnort: Irgendwo im Nirgendwo

Beitrag von Mario Siebert »

[suchen]

Code: Alles auswählen

body{background:#EBF6EB;color:#000000;font:12px Verdana,Arial,Helvetica,sans-serif;margin:6px;padding:0; 
[ersetzen durch]
body{background: url(images/deinbild.gif);color:#000000;font:12px Verdana,Arial,Helvetica,sans-serif;margin:6px;padding:0;
Musst nur den Pfad zu deinem Backgroundbild entsprechend anpassen.

Grüße Mario
Wer gegen eine geringe Gebühr (höhe der Gebühr bestimmst du selbst!!) ein phpBB installiert oder Mods eingebaut haben möchte sollte sich melden unter: netcom_service@gmx.net - Bisherige Aufträge 68.071
Auf Anfrage führe ich auch Reparaturen/Updates und Serverumzüge durch oder baue Mods!
Benutzeravatar
Dominik Müller
Mitglied
Beiträge: 494
Registriert: 08.08.2004 19:04
Wohnort: Siegbach
Kontaktdaten:

Beitrag von Dominik Müller »

Hi Mario,

das hab ich jetzt hinbekommen...
Weißt du wie man den Hintergrund fixiert?
Also dass der sich nicht mit hoch und runter bewegt.

Gruß
Dominik
bandes23
Mitglied
Beiträge: 397
Registriert: 16.02.2005 04:40
Wohnort: Freudenstadt
Kontaktdaten:

hi

Beitrag von bandes23 »

in welcher datei hast du das geändert habe das gleiche problem
Benutzeravatar
Dominik Müller
Mitglied
Beiträge: 494
Registriert: 08.08.2004 19:04
Wohnort: Siegbach
Kontaktdaten:

Beitrag von Dominik Müller »

In der CSS-Datei deines Templates:
phpbb -> templates -> z.B. subSilver -> subSilver.css
Benutzeravatar
Dominik Müller
Mitglied
Beiträge: 494
Registriert: 08.08.2004 19:04
Wohnort: Siegbach
Kontaktdaten:

Beitrag von Dominik Müller »

Hab das mit dem Fixieren hinbekommen.
Man muss einfach nur background-attachment:fixed; dahinter einfügen...
Antworten

Zurück zu „phpBB 2.0: Administration, Benutzung und Betrieb“