Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 12-29-2009, 02:01 AM
orange peel orange peel is offline
 
Join Date: Jun 2008
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default My Header gets tiled on some user's computers

The header/banner at the top of my forums : forum.theclubpenguincheats.com gets tiled on some users' screens because the forums is much wider on their computer. Someone on my forums said its because my forums is a percent-width forums not a fixed width and changing it to one would fix it. He said:

Quote:
Regarding the header, change this code:

<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">

Which is in the style part of the style. To make it a fixed width, make the following changes:

<table width="SIZEOFHEADERpx" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">

I am not sure if the px is needed. May work without having px.
__________________
Im just wondering if thats the best solution and if it works
Reply With Quote
  #2  
Old 12-29-2009, 09:03 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you can change the width of your forum to a fixed width. If your style designer didn't mess with the header template too much, then you should still be able to do that in the Style Manager under StyleVars. If not, then you'll need to edit the header template directly.

Alternatively, you could just find the CSS class where the banner is displayed and change the background-repeat to norepeat. CSS classes can be accessed in the StyleManager way down at the bottom in the custom code section. Most designers would call the banner class something recognizable and leave it towards the top. There's no one way to go about it, and no "best" way per se.
Reply With Quote
  #3  
Old 01-03-2010, 03:15 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well idk why alot of designers make it so hard to change the width, i guess its so they can make people pay for both fixed and fluid but i found out the best way was to use the variable
"$stylevar[outerdivwidth]". It will set the width to whatever you have set in your style options and it also makes it alot more difficult to rip your theme.
Reply With Quote
  #4  
Old 01-03-2010, 06:16 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never seen a fixed and fluid style of the same design sold separately. They're always sold together, when both are available. What happens is some designs simply don't work both ways, and that stylevar becomes impractical.
Reply With Quote
  #5  
Old 01-03-2010, 07:37 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm i am working on my 3rd completly custom theme, and i have managed to make it work 100% perfect with any width 400px or above, they also work with percents. I can see your perspective to a point, but i have been able to eliminate the need by using repeating images via CSS etc.
Reply With Quote
  #6  
Old 01-03-2010, 06:27 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'd run into a problem if a style you have in mind or the one that was requested uses a unique image as a banner that can't be tiled, for example. Some styles add elements to a page that aren't vB default, and not designed with the intent to stretch. I've had a few ideas in the past that resulted in me abandoning my hopes or making the style fluid.
Reply With Quote
  #7  
Old 01-04-2010, 12:21 AM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
You'd run into a problem if a style you have in mind or the one that was requested uses a unique image as a banner that can't be tiled, for example. Some styles add elements to a page that aren't vB default, and not designed with the intent to stretch. I've had a few ideas in the past that resulted in me abandoning my hopes or making the style fluid.
Hmmm yea i know what you mean. There are some work around i have gotten to work, such as splitting the banner into 3 parts, left side, right side, and middle, then making say the middle image repeat, so it that way there can be unique images on the 2 sides, or any combination of the two. I have never really searched through vBulletin themes i have always just made my own theme, as i have been making websites for a few years. I have always been more interested in making fixed width themes anyways, having a wide screen monitor fluid themes seem to spread apart for my tastes.
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 06:57 PM.


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.03805 seconds
  • Memory Usage 2,218KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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