Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 08-04-2009, 10:18 AM
crazymilk's Avatar
crazymilk crazymilk is offline
 
Join Date: Aug 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Background image

How do i stop the background image from repeating?
Basicly i want the background image to stay still when i scroll down the forums.
Thanks in advance for your help
Reply With Quote
  #2  
Old 08-04-2009, 11:49 AM
lasjaakon lasjaakon is offline
 
Join Date: Jul 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would really like to know this too, if anyone have a clue please tell us
Reply With Quote
  #3  
Old 08-04-2009, 01:50 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you mean from Repeating or just STATIC , as in ............ ALWAYS There? there are a couple of ways..

example : first you create a body class....

Code:
body#mybg {
background-attachment:fixed;
background-position:center top;   (((( here you specify where you want your bg , center , left , right etc..))))
}
then in your <body> tag ( in the commun templates ) , you add something like ...


Code:
<body style="background-image: url(pathtoyourimg/img.jpg);"  id="mybg">
that should work..
Reply With Quote
  #4  
Old 08-05-2009, 06:08 AM
crazymilk's Avatar
crazymilk crazymilk is offline
 
Join Date: Aug 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks i will try this when i get home from work cheers
Reply With Quote
  #5  
Old 08-15-2009, 09:06 AM
crazymilk's Avatar
crazymilk crazymilk is offline
 
Join Date: Aug 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first question is where do i create this body class?
Reply With Quote
  #6  
Old 08-15-2009, 02:43 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to AdminCP > Styles & Templates > All Style Options

Near the bottom, there is a section titled "Additional CSS Definitions"

You can add any CSS to this area.

Hope this helps.
Reply With Quote
  #7  
Old 08-18-2009, 04:51 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
Go to AdminCP > Styles & Templates > All Style Options

Near the bottom, there is a section titled "Additional CSS Definitions"

You can add any CSS to this area.

Hope this helps.
Actually if you are putting a fixed background on the entire site you need only put the background css in the top Page Body area box to the left. No need to create extra tags. divs etc.

Open your css of your style and scroll to where you see "Body (Customized in this Style)" it will be the first box that you see for the css definitions. Now in the box that says "Extra CSS Attributes" place the background code you want to use like this:

Code:
background-image: url(images/background.jpg);
background-attachment:fixed;
Be sure to change the images/background.jpg to your correct path where your image for your background was uploaded & give the correct file name for the background. You may have to use a full URL it would look something like this:

Code:
background-image: url(http://www.yoursite.com/images/background.jpg);
background-attachment:fixed;
just be sure that you use the proper pathway & file name and it should work just fine. Be sure to click the "save" button after making the edit.
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:37 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.10016 seconds
  • Memory Usage 2,214KB
  • Queries Executed 11 (?)
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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_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