PDA


View Full Version : Page Background Issue


blkatt
02-19-2006, 02:34 PM
My CMPS homepage "background" uses an image as the background. Upon start-up, the homepage background flashes briefly, but then a white background appears.

What gives? I am using the proper URL setup in the style manager: url(/forum/images/....)

As a test, I tried using background colors and they display the same behavior.

Please assist.

Thanx

Quarterbore
02-20-2006, 01:47 AM
In your vB style, do you have a background color defined? Try deleting those values and the background image should work ;)

blkatt
02-20-2006, 08:53 AM
Thanks for the response.

Also I meant to say I'm having a problem with my Body Background - not Page Background as stated in the subject. The Page Background is showing fine.

To answer your question, no background colors are defined.
I don't think that's the problem. It was working fine before upgrading to CMPS 2.1.

The problem remains.

blkatt
02-20-2006, 10:32 AM
Ok, I found the answer. Thanks Quarterbore for steering me in the right direction so to speak.

Here was the problem: On my homeage I have installed a custom module (adv_portal_custom) which has a CSS background class defintion. I looked in the module and saw this:

body {
background-image: url();
background-color: #FFFFFF;
}


This is what was causing my Body Background to appear to be white (color: # FFFFFF) despite the fact that I had defined the body background differently in the Style Manager.

So to fix it, I made this change in my adv_portal_ custom module - to reflect the path to my desired background image:

body {
background-image: url(/forum/images/imagename.gif);
}


It works now!