proFormell Background image possible?

English Style Support
TAKTAK
Newbie
Newbie
Beiträge: 2
Registriert: Di 17. Feb 2009, 04:01

proFormell Background image possible?

Beitrag von TAKTAK »

Hey Marc, sorry to come bothering you,

But i've been having a few issues with proFormell (1.0.2), and trying to get it to display a background image instead of a solid colour.

I have located the appropriate line in common.css and fed it the values:

Code: Alles auswählen

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #828282;
	background: #000 url(images/bg.png) repeat-x;
	/*font-size: 62.5%;			 This sets the default font size to be equivalent to 10px */
	font-size: 10px;
	margin: 0;
	padding: 12px 0;
}
the 000 to set the background colour to black, and the url to point to the correct path (also tried external linking)

But, using firebug to inspect elements shows that the image is not fed to the page from the css, and the page is only given the page colour.

Any ideas on how to fix this?

Again, sorry for bothering you,

Cheers'
TAKTAK

edit: may be of note: i have changed the theme name in all CFG files to enable proFormell (unaltered) and proFormell (altered) to run side by side, i don't think this should cause a problem, but i thought i would mention it incase. :)
Benutzeravatar
Marc
Administrator
Administrator
Beiträge: 619
Registriert: Di 2. Sep 2008, 23:48
phpbb.com: Marc
Wohnort: Munich

Re: proFormell Background image possible?

Beitrag von Marc »

Put the background in this part in the common.css:

Code: Alles auswählen

html {
	font-size: 100%;
	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
	height: 100%;
	margin-bottom: 1px;
	color: #000000;
}
It should look like this (make sure to correct the path to your background as shown below):

Code: Alles auswählen

html {
	font-size: 100%;
	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
	height: 100%;
	margin-bottom: 1px;
	background: #000 url("{T_THEME_PATH}/images/bg.png") repeat-x;
	color: #000000;
}
Bild
TAKTAK
Newbie
Newbie
Beiträge: 2
Registriert: Di 17. Feb 2009, 04:01

Re: proFormell Background image possible?

Beitrag von TAKTAK »

Thankyou for taking the time to reply :)

I shall give it a go now, :D


Cheers,
TAKTAK