vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Making a banner stretch to fit table... (https://vborg.vbsupport.ru/showthread.php?t=268691)

UrGonnaDie 08-17-2011 11:04 PM

Making a banner stretch to fit table...
 
Hello im having trouble with my banner not streching to fill the whole area.
If you would like to see what it looks like on the site im working on goto www.infamousassassins.com

Ive looked through the header template and dont see anything stand out

Reycer 08-18-2011 01:20 AM

It's because you need to call for the header image in the StyleVars, not the header template. Check out this article, it tells you how to do it.

http://animeappeal.com/showthread.ph...h-a-background

UrGonnaDie 08-18-2011 01:46 AM

I tried what that link said to do and i end up having 2 images side by side. Currently i have the imagepaths title image set to the .png file i wish my banned to be and it stays a single image but when i change the header_background to the file i wish with the repeat-x option it tries to put 2 images side by side.

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

i messaged the theme maker because the banner that came with the theme is built with a bunch of characters that u can hide in photoshop so u can make it look how you want and i got this answer.

Quote:

Do not edit or disable the "banner-background.png" - That image is making
the header tiling/fluid.
Keep the right side of the "banner.png" like default when you edit it, so it
will blend with the tiling part.
The problem is ive added an image to the right side of the banner and hes saying to take the guy off the right side so it will blend id rather find a way to kinda stretch the image so it fits the whole way accross and also doesnt look messed up on diffrent size screens

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

I did like he asked on my main site and it blends now but the image i would really like to use and the problem can be viewed at www.infamousassassins.com/Newsite

UrGonnaDie 08-21-2011 04:53 PM

anyone have any ideas on how to fix this?

Diwanalk 08-21-2011 08:12 PM

I had mine working changing this (in the header) :
Code:

<img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" />
into this :
Code:

<img src="{vb:stylevar titleimage}" width="100%" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" />
I tried with your banner and it worked too.


All times are GMT. The time now is 05:34 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.01097 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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