vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How can i add a background image to my forum (https://vborg.vbsupport.ru/showthread.php?t=170243)

Sothside40 02-11-2008 06:41 PM

How can i add a background image to my forum
 
Can someone help me out on this....?

Deety 02-11-2008 08:33 PM

Quote:

Originally Posted by Sothside40 (Post 1440966)
Can someone help me out on this....?

In AdminCP, go to Styles & Templates>Style Manager. If you just have the default style listed, click "Add New Style" and create one with the default as the parent. That way, you'll always be able to use the default as reference.

Now click Go on All Style Options for your style. Go to Body>Standard CSS Attributes>Background ("Body" is the first block under all the folder locations). Replace the contents with...

url(FULL IMAGE URL)

...and take a look at it. (Click the style name in Style Manager, use the jumplist at the bottom of the forum, or change UserCP options to get there.)

If you need the image to repeat in only one direction or not at all, you can specify which and where it is placed in this manner:

url(FULL IMAGE URL) repeat-x top
url(FULL IMAGE URL) repeat-y right
url(FULL IMAGE URL) no-repeat top left

It might also be useful to add a color value so if your image isn't available or doesn't cover the entire space, the remaining background will be the right color. This is for a graphic repeating across the top of the body with the remainder of the body black:

#000000 url(FULL IMAGE URL) repeat-x top

That should be enough to get you started. If you want to fill different or additional areas, either just experiment or use the Color Maps here under Styles & Templates > vBulletin3 Style Reference.

After you finish styling, you can make your style the new default for the site in AdminCP>vBulletin Options>vBulletin Options>Style & Language Settings>Default Style.

Panzer Max 04-01-2017 05:36 PM

many years later thank you for the excellent instructions


All times are GMT. The time now is 12:05 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.00932 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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