Page 1 of 1

proFormell Background image possible?

Posted: Tue 17. Feb 2009, 03:08
by 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: Select all

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. :)

Re: proFormell Background image possible?

Posted: Tue 17. Feb 2009, 08:14
by Marc
Put the background in this part in the common.css:

Code: Select all

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: Select all

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;
}

Re: proFormell Background image possible?

Posted: Tue 17. Feb 2009, 17:00
by TAKTAK
Thankyou for taking the time to reply :)

I shall give it a go now, :D


Cheers,
TAKTAK