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 to add image to parts of page? (https://vborg.vbsupport.ru/showthread.php?t=140337)

boozecrooze 02-24-2007 02:14 PM

How to add image to parts of page?
 
Hi,

I've done a ton of searches but can't really find a decent explanation about something that is probably extremely simple. I hope you can help.

I want to add image(s) to different parts of the page.
For example, how would I go about adding an image to:

1. The header - behind the logo. Is there a way to add an image that would fit perfectly with the rest of the page. The forums will be fluid, so I guess its hould be able to span just like the rest of the page.

2. The body.

3. The page background.

Sorry for such a ridiculous question, and if you have a specific tutorial that may help, please let me know.

Thanks!

CyberAlien 02-24-2007 03:57 PM

You can do it by editing "body" css (add background for body), "header" template (logo part), "header" and "footer" templates (page background. div/table that starts in header, ends in footer). Its all usual html/css.

boozecrooze 02-24-2007 04:08 PM

Hi,

Definitely a newbie here.

Could you be a little more specific?

Say I have a file named "background.jpg", how and where would I put that image in say the header or body template?

Thanks so much!

Princeton 02-24-2007 04:31 PM

you could do most via the Style Manager:
http://www.vbulletin.com/docs/html/stylemanager_css

however, some of your requests may need template editing

CyberAlien 02-24-2007 06:25 PM

For body: in css "body" set background property to: background: url(background.jpg)
For header: in "header" template replace this:
Code:

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
with this:
Code:

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" style="background: url(background.jpg);">


All times are GMT. The time now is 02:21 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.01081 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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