Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2009, 08:55 AM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Banner Resizing Problem

Hi folks,

I seem to have hit a slight banner problem.
My new banner looks ok on the screen resolution i have, but when i lower it the banner still stretches across the page and disappears off screen.

This is the code i have at the moment,

Code:
<!-- logo -->
<a name="top"></a>
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/headbg.gif)">
<tr>

<td align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" border="0" alt=""/></a></td>
<td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/head_right.gif" alt="" /></td>
</tr>
</table>
</center>

<!-- /logo -->
<!-- content table -->
$spacer_open

$_phpinclude_output
If anyone can help out thanks,

SteveT

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

Anyone got any help or code i could use.

Thanks.
Reply With Quote
  #2  
Old 08-15-2009, 03:04 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you provide a link so I can see what the problem is. Also, what do you want to happen when users make their window size smaller?
Reply With Quote
  #3  
Old 08-15-2009, 03:47 PM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Thanks for your reply.

If you use a size of screen smaller than my display setting (1440x900) then the banner wont shrink to fit the forum, stays big, and if i go to higher screen size the banner do sent fit the length of the forum.
http://quarantine-101.com/

Thanks.
SteveT
Reply With Quote
  #4  
Old 08-15-2009, 07:19 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I know what you want to do now.

It might be better if you make a smaller logo that is centralised and then you can add a bar to either side that expands to make it look like your logo stretches across the forums. Alternatively, you could fix the width of your forums and then the logo would always fit.
Reply With Quote
  #5  
Old 08-15-2009, 08:02 PM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
Okay, I know what you want to do now.

It might be better if you make a smaller logo that is centralised and then you can add a bar to either side that expands to make it look like your logo stretches across the forums. Alternatively, you could fix the width of your forums and then the logo would always fit.
Could you explain how to achieve that please, either way is fine by me.
Thanks.
Reply With Quote
  #6  
Old 08-15-2009, 08:58 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To make your forums width fixed not fluid, go to:

AdminCP > Styles & Templates > Style Manager > YOURSTYLE > All Style Options

Then find this:

"Main Table Width (pixels or percentage)"

Change the "100%" to any number say 800. You can then make your banner 800 pixels wide.

If you don't like this method, you can revert it back to 100% and I'll help you make a fluid banner.
Reply With Quote
  #7  
Old 08-15-2009, 09:09 PM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
To make your forums width fixed not fluid, go to:

AdminCP > Styles & Templates > Style Manager > YOURSTYLE > All Style Options

Then find this:

"Main Table Width (pixels or percentage)"

Change the "100%" to any number say 800. You can then make your banner 800 pixels wide.

If you don't like this method, you can revert it back to 100% and I'll help you make a fluid banner.
Thanks bro,

I`ll give this option a try and let you know how i get on, I appreciate the help.

SteveT

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

It worked well,

But i think if you can help with the fluid version, it would be much better.

Thanks again.

SteveT
Reply With Quote
  #8  
Old 08-15-2009, 09:25 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay then, would you like your logo to be positioned to the left, centre or right?
Reply With Quote
  #9  
Old 08-15-2009, 09:42 PM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vB Tree View Post
Okay then, would you like your logo to be positioned to the left, centre or right?
Center please,

Thanks.
Reply With Quote
  #10  
Old 08-15-2009, 10:43 PM
vB Tree vB Tree is offline
 
Join Date: Dec 2008
Location: England
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need to create a logo image and a image which can be repeated that works on both sides.

Then paste the urls here and I'll give you some code.
Reply With Quote
Reply


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 06:52 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.03902 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
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_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete