vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Background Image? (https://vborg.vbsupport.ru/showthread.php?t=203280)

dmknights 01-27-2009 04:16 PM

Background Image?
 
can someone possibly tell me how to have an image as my backgroung on my forum?

Lynne 01-27-2009 04:40 PM

Did you try adding it to the css body tag? See this page for css help with the background properties - http://www.w3schools.com/css/css_background.asp

princeedward 01-27-2009 04:41 PM

Quote:

Originally Posted by dmknights (Post 1726290)
can someone possibly tell me how to have an image as my background on my forum?

if you have image already...upload it anywhere to host it or to your own...host image folder...

Go:

Admin CP > Styles & Templates > Style Manager > Main CSS (in the menu) > Body


Use the code below in the Background field:

Replace (*) with anyone you want below to position your image
Code:

#123456 url(path/to/image.gif) *
(*)no-repeat top right;
(*)no-repeat top left;
(*)repeat-x;
(*)repeat-y;
(*)repeat;
(*)...


hope it helps you...

:p:up:

dmknights 01-27-2009 05:49 PM

does the image have to be a certain size?

Lynne 01-27-2009 05:55 PM

It depends on what you are trying to do. If you look at the one here, it is long, but only 1 pixel (or so) tall and then tiled in the vertical direction. Other sites have a square that is tiled in all directions. It kinda depends what you are doing with your background.

dmknights 01-27-2009 06:05 PM

would it be possible to have a pixel size of say 30x30 that is tiled?

Lynne 01-27-2009 06:40 PM

Sure.

#123456 url(path/to/image.gif) repeat

dmknights 01-27-2009 07:00 PM

just 1 thing, would the path be like (images/misc/image.gif) or would it be the complete http://www.mysite.com etc etc

Lynne 01-27-2009 08:00 PM

Usually it is best to just do it as images/misc/image.gif unless there is a problem with doing it that way.

dmknights 01-27-2009 08:57 PM

thank you very much for your help


All times are GMT. The time now is 07:11 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.01549 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
  • (1)bbcode_code_printable
  • (1)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