vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Background Question (https://vborg.vbsupport.ru/showthread.php?t=320646)

RKLounge 10-29-2015 04:52 PM

Background Question
 
Website: http://RKLounge.com

Hello,

I'd like to add a background to my page.

I have a fixed-width theme and i'd like to add a background picture to the empty space on left and right side of forum. Everytime i try to do this the image just repeats itself or does not look good no matter how i try to do it. I have tried messing with doc_background.

How do i know what size I need the background image to be? And how do i make it look good?

Dave 10-29-2015 05:02 PM

Make one big background picture with nothing in the middle (940px according to your forum) and whatever you want on the left and right side.

Then you add it to doc_background, no-repeat, horizontal offset top, vertical offset center.

RKLounge 10-29-2015 05:07 PM

Quote:

Originally Posted by Dave (Post 2557839)
Make one big background picture with nothing in the middle (940px according to your forum) and whatever you want on the left and right side.

Then you add it to doc_background, no-repeat, horizontal offset top, vertical offset center.

Thanks for the start Dave.

The image I want to use is too small and i will have to resize it. I only know how to do this in paint. So if i resize it and maintain the aspect ratio What do i put as the Height and Width in px?

Dave 10-29-2015 06:09 PM

Height and width doesn't matter, as long as there is nothing in the middle of it which matches the size of your forum its width. (Which is 1050px acccording to your forum at this moment.)


All times are GMT. The time now is 10:14 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.01161 seconds
  • Memory Usage 1,714KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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