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 12-22-2009, 04:28 PM
orange peel orange peel is offline
 
Join Date: Jun 2008
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Width Variance Messing Up Header

forum.theclubpenguincheats.com

The width of the forum chances depending on the computer, thus if it's wider than normal, it makes the header at the top tiled. Any way to fix this? Im thinking making a fixed forum width? If so, how, and could I maybe make the width a little larger?
Reply With Quote
  #2  
Old 12-22-2009, 06:14 PM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should work.

HTML Code:
<table width="$stylevar[outertablewidth]" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a href="index.php?"><img src="images/solido/spacer.gif" alt="The Club Penguin Cheats Forums" width="100%" height="129"></a></td>
        <td valign="top">&nbsp;</td>
      </tr>
    </table>
Whats i did.
Changed forum width to "$stylevar[outertablewidth]". This will allow the header table to be forced to stay aligned with the forum. Chan i changed the bannder width to 100%. Next i removed the "class="headerwrap" because it was adding the image to be repeated.
Reply With Quote
  #3  
Old 12-23-2009, 01:19 AM
orange peel orange peel is offline
 
Join Date: Jun 2008
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for being a noob, but does this go in the header.php under templates?
Reply With Quote
  #4  
Old 12-23-2009, 04:33 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orange peel View Post
Sorry for being a noob, but does this go in the header.php under templates?
O no problem, if you open admincp go to style, find your style and edit templates then replace the code with the code i posted before.
Reply With Quote
  #5  
Old 12-23-2009, 06:30 PM
orange peel orange peel is offline
 
Join Date: Jun 2008
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi it messed up the forum when I added it to header.php
Basically, it made the width the width of the screen and the header disappeared and the bar with all the links at the top extended past the scroll bar on the right a little
I kinda want it like this on all computers:
http://i475.photobucket.com/albums/r...atex/pic-3.jpg
Reply With Quote
  #6  
Old 12-26-2009, 05:28 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean your header template, right? There is no header.php file, and you wouldn't be editing files to edit a style in any case.

If you're trying to do what I think you're trying to do, then first we'd need to see your header template code. Copy it and paste it inbtween the [noparse][CODE][/CODE]tags. Depending on how your banner is being displayed in the code, you'd need a different solution to make it fixed.
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 08:46 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.03902 seconds
  • Memory Usage 2,207KB
  • 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_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete