vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   doc_background - how to put an image there? (https://vborg.vbsupport.ru/showthread.php?t=228105)

nikki712 11-16-2009 03:27 PM

doc_background - how to put an image there?
 
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 11-16-2009 05:08 PM

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 11-18-2009 10:10 AM

I think stylvars need alot of work and need to add add Additional CSS Definitions like as in vb3

Dead Eddie 11-18-2009 10:48 AM

Quote:

Originally Posted by nikki712 (Post 1915330)
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 11-18-2009 06:39 PM

Quote:

Originally Posted by Dead Eddie (Post 1916534)
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 11-18-2009 07:00 PM

He told you. It's in the vbulletin.css template.

jimfries 06-27-2010 06:30 AM

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 06-29-2010 07:48 PM

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 04-01-2011 10:36 AM

Quote:

Originally Posted by VonDoom (Post 1915384)
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 04-01-2011 04:16 PM

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.


All times are GMT. The time now is 12:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01069 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete