PDA

View Full Version : My Header gets tiled on some user's computers


orange peel
12-29-2009, 02:01 AM
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:

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 :confused:

Digital Jedi
12-29-2009, 09:03 AM
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.

Hell Bomb
01-03-2010, 03:15 AM
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.

Digital Jedi
01-03-2010, 06:16 AM
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.

Hell Bomb
01-03-2010, 07:37 AM
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.

Digital Jedi
01-03-2010, 06:27 PM
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.

Hell Bomb
01-04-2010, 12:21 AM
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.