vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   How do you add a graphic background to your style? (https://vborg.vbsupport.ru/showthread.php?t=35023)

Massiel 02-12-2002 11:16 PM

I am new at this and want to add a graphic bg to my style but I have no idea how, can anyone please help me out? I'd appreciate it lots! :p

Nemesis77 02-13-2002 06:38 PM

Do you mean border around your forums or just an image as your background?

If you mean just an Image as you background. go to
Modify Styles in the the body tag change where it says bgcolor=#somecolor to this
Code:

background="{ imagesfolder}/background.gif"
remove the space after the { before imagesfolder

And if you want your background image to be watermarked. which means to stay stationary and have your forums slid over the background without the background moving add
Code:

bgproperties="fixed"
before the code mentiond above. this is a nice effect if you make your Page Background Color Transparent

So your Body Tag will look like this
Code:

<body  bgproperties="fixed" background="{ imagesfolder}/background.gif" text="#CCCCC8" id="all" leftmargin="10" topmargin="0" marginwidth="10" marginheight="10" link="#000020" vlink="#000020" alink="#000020">

Massiel 02-16-2002 08:49 AM

Oh my! I hadn't seen this, thank you so much for taking the time to reply to my post, I really appreciate it! :)

BigJohnson 02-16-2002 03:09 PM

hey. I got the back ground thing working but there is the other back ground also that is bothering me. You know how VB gives ya 2 different back grounds. Well i got the pic working for the back ground around the logo up top and all but there in another back ground around the actual forums. Is there any way i can get rid of that and have the picture that my back ground is set to be the back ground for the back ground around the forums? Lol wheew that was alot. I hope you understand. Thank you.

Nemesis77 02-17-2002 06:19 AM

go to your header template.
find
Code:

<table bgcolor="{ pagebgcolor}" width="{ tablewidth}" cellpadding="10" cellspacing="0" border="0">
<tr>
  <td>

and Remove it or comment it out by adding
<!-- --> around it.

This will remove the background color you're talking about from your forums home page and most of the site, but there will still be a couple places when view or replying to a thread where it will still be seen.

Newreply template, newpost template, etc.

just do a search for bgcolor="{ pagebgcolor} and remove it or comment it out also.

BigJohnson 02-17-2002 03:15 PM

thanx


All times are GMT. The time now is 11:36 PM.

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.01005 seconds
  • Memory Usage 1,717KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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