Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2009, 05:57 AM
EnemyNSA EnemyNSA is offline
 
Join Date: May 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Background Image Help

Hello, I have a quick question regarding background images & VB.

Currently: http://www.fighting118th.com/ is a blog site, where we have a background image, but as you expand or contract the window, the blog stays in the center white area with the outside growing/shrinking.

I added: url(http://www.fighting118th.com/wp-cont...ckground.jpg); background-repeat: no-repeat; background-attachment: fixed} to the Standard CSS in "BODY" in the Style Manager, but in VB the whole forum slides to the left when the screen gets smaller. The background stays the same though, so everything looks messed up.

How can I link the two, so the VB forum (set at 1000 pixels) stays in the center of the background image?

Thank you for your time!!

--------------- Added [DATE]1244791715[/DATE] at [TIME]1244791715[/TIME] ---------------

background-position: center;

Found it Never underestimate a google search.
Reply With Quote
  #2  
Old 06-15-2009, 10:47 AM
WILFMAN WILFMAN is offline
 
Join Date: Jun 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a similar problem but can't fix it.

I am trying to set my background similar to the BG for this forum. The main table is set to 950px and, for purposes of trial & error, I am using the BG image from this forum (I hope nobody minds).

I have used
Code:
#E1E1E2 url(http://www.upallnightextra.com/images/bodybkgd950px.jpg) repeat background-position: center
and various other versions to try to get the layout correct but instead the image seems to move to the right, leaving the blue border on the left overlapping (I suppose that should be underlapping) the main table. The blue border on the right moves to the right to leave the white center part of the bg image protruding from under the right-hand side of the main table.

Could anyone help please?
Reply With Quote
  #3  
Old 06-15-2009, 03:26 PM
Butcher's Avatar
Butcher Butcher is offline
 
Join Date: Oct 2004
Location: Lake Distrcit - England
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you could try using the CSS within vB and in the Body part (first box on the CSS pages of vB) try entering:-
HTML Code:
#E1E1E2 url([url]http://www.upallnightextra.com/images/bodybkgd950px.jpg[/url]) repeat-y
not sure if that will work or not
Reply With Quote
  #4  
Old 06-15-2009, 05:50 PM
WILFMAN WILFMAN is offline
 
Join Date: Jun 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Butcher. Sadly the background didn't even appear.

Got it!

It should be
Code:
#E1E1E2 url(http://www.upallnightextra.com/images/bodybkgd950px.jpg) repeat-y center
Thanks
Reply With Quote
  #5  
Old 04-06-2012, 10:46 PM
jvettrus jvettrus is offline
 
Join Date: Mar 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK..if anyone was going as crazy as me trying to figure out how to get the doc background to stay in place under the body - after reading 800 posts this is what worked in vb 4.1:

Style Manager -> Style Variable Editor -> Doc Background ->

url(/yourimagepath.jpg) no-repeat fixed top center;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 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.03626 seconds
  • Memory Usage 2,201KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete