PDA

View Full Version : Help with Logo Resizing?


BarelyHangingOn
06-11-2012, 09:55 PM
I have searched but come up empty with my problem. I am trying to make a decent logo for my forum. I made it the size of the table width but it does not resize when looking at it in other browsers or my iphone for example.

Can somebody help me out?

http://www.comicsforever.com/forums/

Simon Lloyd
06-12-2012, 06:36 AM
In your header template set the image dimensions to auto like <img src="http://www.mysite.com/forum/images/misc/mypic.png" border="0" height="79px" width="auto" alt="MySite Description" />As you see here i set the height of the logo to 79px but the width will be automatic for the space available :)

BarelyHangingOn
06-12-2012, 09:21 PM
That doesn't seem to work. Here is the code that I put in. The width=100%. It resizes and looks okay in FF. Just a hair short but in Chrome it's way off.

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.comicsforever.com/forums/images/misc/vbulletin3_logo_white.gif" width="100%" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

Simon Lloyd
06-13-2012, 06:28 AM
I just viewed your site as a guest, what you need to do is remove<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>As you aren't using that ad location you can comment it out like this<!-- <td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td> -->

BarelyHangingOn
06-13-2012, 08:52 AM
Awesome worked like a charm. It was holding space for an ad that wasn't there. Perfect. Now I can get a real logo and fix the welcome table.

Thanks again!!!