vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to set site background image? (https://vborg.vbsupport.ru/showthread.php?t=231509)

BSMedia 12-29-2009 12:48 AM

You aren't setting the right CSS class.

use the doc_background instead of whatever you've used.

Also while it's none of my business where you get your images from (nor do I care) you should know simply stealing someone elses design/images is usually frowned upon.

mandingo 12-29-2009 12:54 AM

Quote:

Originally Posted by Bouncer222 (Post 1941059)
One question, how do I make the image appear like it appears here in the background..
http://www.bigonline.org/content.php

As you can see, theirs goes all the way from the top of the page, and mine doesn't
www.brotherhoodofgamers.com

Their style leaves a margin for it,and yours is super wide so you can't really see what the actual document background image is until under the navbar. You could set the same image as your header background image as well:
header_background

p.s. the blend to black looks good.

Bouncer222 12-29-2009 01:14 AM

Well that theme is publicly available BSMedia I believe, so simply configuring mine isn't really stealing if that theme has no copyright on it or am I wrong?

Well as you can see mandingo, it's starting at the bottom not at the top actually, it starts under the header, and how would i make the margins like theirs and it appear from top?

mandingo 12-29-2009 01:23 AM

Quote:

Originally Posted by Bouncer222 (Post 1941082)
Well that theme is publicly available BSMedia I believe, so simply configuring mine isn't really stealing if that theme has no copyright on it or am I wrong?

Well as you can see mandingo, it's starting at the bottom not at the top actually, it starts under the header, and how would i make the margins like theirs and it appear from top?

Mess around with
doc_width
I guess

and set the image as your
doc_background

BSMedia 12-29-2009 01:24 AM

Quote:

Originally Posted by Bouncer222 (Post 1941082)
Well that theme is publicly available BSMedia I believe, so simply configuring mine isn't really stealing if that theme has no copyright on it or am I wrong?

Well as you can see mandingo, it's starting at the bottom not at the top actually, it starts under the header, and how would i make the margins like theirs and it appear from top?

Under the stylevars -> Common -> Document Width

Set it to something like 90%

Set your Background for Entire HTML Document like

Background-color: black
Background Image: url(path/to/image)
Background Repeat: Repeat-x
Background Position: Top

mandingo 12-29-2009 01:26 AM

Quote:

Originally Posted by BSMedia (Post 1941092)
Under the stylevars -> Common -> Document Width

Set it to something like 90%

Set your Background for Entire HTML Document like

Background-color: black
Background Image: url(path/to/image)
Background Repeat: Repeat-x
Background Position: Top

*high fives*

Bouncer222 12-29-2009 01:52 AM

K looks like I'm getting there, www.brotherhoodofgamers.com it's been shrinked from the right side, now how do I do it for the left side?

mandingo 12-29-2009 02:38 AM

PLay with
doc_margin
in StyleVars



or:

vbulletin.css

add:
margin-left: 10%;
margin-right: 10%;
to Body (at the beginning)

Code:

body {
        width:{vb:stylevar doc_width};
        min-width:{vb:stylevar doc_minWidth};
        max-width:{vb:stylevar doc_maxWidth};
        margin: {vb:stylevar doc_margin};
        font-size:{vb:stylevar font.fontSize}px;
        color:{vb:stylevar body_color};
        line-height:{vb:stylevar line_height};
        margin-left: 5%;
        margin-right: 5%;


}

tinker with it some.


All times are GMT. The time now is 09:48 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.01698 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete