The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Header Logo not resizing for differnt page widths
Having problems with the logo at the top not re-sizing.
http://legendaryfordmagazine.com/cmps_index.php I put a lame looking blue bar on the right to help cover up for this but I'd like the logo at the top to resize with different computers so I can get rid of said lame bar. Can this automatic resizing be done from within vB? Please keep in mind that I'm an uber noober. So exact instructions would be greatly appreciated... Thanks! Jeff |
#2
|
|||
|
|||
I'm not a design person, but I think it would look OK if it stayed in the upper left, as long as the background was entirely blue. Or you could have it center if you prefered. Would you really want it to stretch?
ETA: Sorry man, I hate it when I ask a question and someone answers "why would you want to do that", and now I've done it to you. |
#3
|
|||
|
|||
Yeah. What I want to know is is there a way to dynamicly size the logo. so that it views correctly on most monitors.
|
#4
|
|||
|
|||
OK, try this: edit your header template (Styles & Templates => Style Manager => "Go" next to your style (or Default Style), header is under "Common Templates").
Find the section that looks like this: Code:
<tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> and change it to look like this (add the part in red): Code:
<tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img style="width:100%" src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> I think that should resize the banner image (I tried the HTML just on my computer but not actually using the template). But it leaves a small gap on the right, which I think this is caused by this part (which is just below the part we just looked at: Code:
<td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> (Remember to scroll down to the bottom and press "Save" when you are done making changes, of course). BTW, the reason I wondered if you really wanted to resize it is because I have a wide screen monitor and I was thinking that if the banner resized to fit the width, it would also be ridiculously tall and not look good. But I tried it and it actually looks OK. |
#5
|
|||
|
|||
:up::up::up::up::up::up::up::up::up::up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|