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)
-   -   Help needed with background image. (https://vborg.vbsupport.ru/showthread.php?t=282820)

Potters-Online 05-12-2012 08:15 AM

Help needed with background image.
 
Hi everyone, hopefully someone out there can help me out :)

I'm trying to create a background on my forum www.potters-online.co.uk)

I want to add former players to the edge of the forum in the background, however when people are on different resolutions its displaying as repeating images and when i remove repeat it just sits in the center behind the main forum.

I want it to look like this no matter what resolution the user has

https://vborg.vbsupport.ru/external/2012/05/30.png

Instead of this what im getting now

https://vborg.vbsupport.ru/external/2012/05/31.png

Thanks in advance

Shawn

Sage Knight 05-12-2012 01:20 PM

background: #F0F0F0 url(http://i600.photobucket.com/albums/t...nders/brap.png) fixed center repeat-none;}

And a word of advice would be to use the 2 dudes as a png image and change the background color to the same red in the image. It should accomplish the same thing you want but would load faster and easier to edit in the future as the red color you chose is burning my eyes, lol.

Potters-Online 05-12-2012 01:42 PM

Thanks for your help :) I've done as you suggested but this is what it looks like now.

https://vborg.vbsupport.ru/external/2012/05/29.png

It's gone :)

This is what is in my doc_background stylevar:

Background Colour : Transparent
Background image : url(http://i600.photobucket.com/albums/t...titled-1-6.png) fixed center repeat-none
Background Repeat: Repeat.

Where am I going wrong ? Please feel free to call me stupid :)

RobbieZ 05-12-2012 01:54 PM

Upload your image to a folder on your server, personally I would save it as a jpg to reduce page load then make your settings as so:

Background Color: #F54B4B
Background Image: url(images/yourbackground.jpg)
Background Repeat: no repeat
Background Image Horizontal Offset: top
Background Image Vertical Offset: center

The problem your going to have is as your forum grows longer then your image will move so you need to use 'fixed' so your background doesnt scroll with your forum, having never tested this I can't really help you there!


All times are GMT. The time now is 08:50 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.01063 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
  • (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