PDA

View Full Version : Background Not Showing for all Pages with Style



caseychaos
Tue 1st Sep '09, 12:11am
I have a repeating gradient working beautifully on my portal page (vbadvanced). The style for that page can be applied to the rest of my forum but the gradient will only display on the portal. I put the image in the Extra CSS Attributes of the body.



background-image: url('/images/background1.jpg') ; background-repeat: repeat-y; background-position: center;Here is how it looks on the portal: www.texasbowhunter.com (http://www.texasbowhunter.com) Oh, the portal is set to the fixed styles and users can not change this.

Any ideas why my forum won't display the image? Again, this style is used throughout the forum. Users can pick between this fixed width style as well as a wide (100%) style. I only get the gradient on the vbadvanced portal.

Thanks.

Jose Amaral Rego
Tue 1st Sep '09, 12:43am
Try 'Absolute path' instead of 'Relative path' and see what you get.

Absolute path:
http://www.your_domain_name.com/images/

Relative path:
images/icons/pip.gif


background-image: url('http://www.texasbowhunter.com/images/background1.jpg');
background-position: center;
background-repeat: repeat-y;

caseychaos
Tue 1st Sep '09, 1:02am
Bingo! I don't know why I didn't think of that, with the pages in different locations.

Thank you very much!