Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 07-24-2006, 07:07 PM
BrentW BrentW is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Header Background

http://www.communityofchrist.us/index.php

I have the width of my site restricted to 770 pixels to accomidate 800x600 users. However, when viewing profiles, the page stretches outward, causing gray-colored gaps on both sides of the banner. (That's because I have the myspace hack installed). How do I change the gray color into an image background? I would like to set the background of the header to this:

http://www.communityofchrist.us/images/misc/Filler.jpg

That way, it won't look ugly when it stretches.
Reply With Quote
  #2  
Old 07-25-2006, 03:54 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unable to connect ... site is down?
Reply With Quote
  #3  
Old 07-25-2006, 08:00 PM
BrentW BrentW is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton
Unable to connect ... site is down?
Yes, at the worst possible timing. We just moved the server to this new line...and what do you know, three days later the line is having problems. Let's just say we are FURIOUS at the service provider.
Reply With Quote
  #4  
Old 07-27-2006, 05:52 AM
BrentW BrentW is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any thoughts on this?

See screenshots for more info.
Attached Images
File Type: jpg sc1.jpg (17.6 KB, 0 views)
File Type: jpg sc2.jpg (12.5 KB, 0 views)
Reply With Quote
  #5  
Old 07-27-2006, 07:08 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm guessing this is fixed 'cause I don't see the problem on the site.
Reply With Quote
  #6  
Old 07-28-2006, 12:51 AM
BrentW BrentW is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not fixed. The index has no problem, but when I go into the profiles, the sides stretch outward. So what I want do to is break the banner into three parts: left-side, middle, and right-side. The middle would be filled with a gradient which matches the rest of the banner. That way, if the sides expand outward, it won't look ugly. Here is the (current) code for my header:

Quote:
<table class="tborder" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td align="top">

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
I want to replace that banner with:

http://www.communityofchrist.us/imag...white_left.jpg
http://www.communityofchrist.us/images/misc/Filler.jpg
http://www.communityofchrist.us/imag...hite_right.jpg

I hope that makes sense.
Reply With Quote
  #7  
Old 07-28-2006, 02:12 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

something along the lines of
HTML Code:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
	<tr style="background:url(http://www.communityofchrist.us/images/misc/Filler.jpg) repeat-x">
		<td align="left"><img src="http://www.communityofchrist.us/images/misc/vbulletin3_logo_white_left.jpg" width="499" height="112" border="0" alt="$vboptions[bbtitle]" /></a></td>
		<td>&nbsp;</td>
		<td align="right"><img src="http://www.communityofchrist.us/images/misc/vbulletin3_logo_white_right.jpg" width="235" height="112" alt="" border="0" /></td>
	</tr>
</table>
I hardcoded the values you may want to replace them.
Reply With Quote
  #8  
Old 07-29-2006, 05:04 AM
BrentW BrentW is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Thank you, sir.

Now I am experiencing the same gray gaps on the bottom of the page. See my second screenshot. How would I go about fixing that?

Thanks again!
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 10:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05249 seconds
  • Memory Usage 2,250KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete