PDA

View Full Version : doc_background - how to put an image there?


nikki712
16 Nov 2009, 17:27
In the doc_background stylevar, there is only an option for color, but NO option for an image. Is there a way around this?

VonDoom
16 Nov 2009, 19:08
I think if you upload the image into your images folder and add the path (not the URL) where the color is supposed to be input, it will call the image instead of a color.

fourat
18 Nov 2009, 12:10
I think stylvars need alot of work and need to add add Additional CSS Definitions like as in vb3

Dead Eddie
18 Nov 2009, 12:48
In the doc_background stylevar, there is only an option for color, but NO option for an image. Is there a way around this?

Currently, you need to edit the css template manually. you're looking for vbulletin.css, should be the html declaration. Take out background-color and add background.

There's a bug report for this on .com, hopefully they'll have a generic doc_background option in beta 4.

digijeff
18 Nov 2009, 20:39
Currently, you need to edit the css template manually. you're looking for vbulletin.css, should be the html declaration. Take out background-color and add background.
.

Where are you referring to to make this manual change? Where is the file located at? I would really like to change the background of the layout asap. Please let me know thanks.

Lynne
18 Nov 2009, 21:00
He told you. It's in the vbulletin.css template.

jimfries
27 Jun 2010, 08:30
Style Manager - (Theme) StyleVars

Under the Common options look for doc_background and in the Images box type in something like... url(images/backgrounds/background.png ) Fixed

Now I have mine as a Fixed image, so you can scroll the website over the image and it never moves. Feels more dynamic to me. If you are going to do that, make sure you add the space after the .png but before the ) ... (or .gif whatever type of file your image is) if you do not want your image fixed in one place on your website, remove thespace and the word "Fixed"

setishock
29 Jun 2010, 21:48
Jim if you look at the date on this post VB4 had just come out. The stylevars didn't have all the functionally they do now.

andycaps
01 Apr 2011, 12:36
I think if you upload the image into your images folder and add the path (not the URL) where the color is supposed to be input, it will call the image instead of a color.

Hi Dom,
Your say not the URL but the path - I am tried putting in the path for my back ground and i am still getting a white background, I am sure I have the correct path... Is there any other setting to make as well as putting in the path?

thanks
Andy

Lynne
01 Apr 2011, 18:16
If you need help, you need to tell us *exactly* what you did and *exactly* what you expect to happen. Please also post a link so we can see the actual results.