View Full Version : Moving the VB logo to the right?
zkilzz
12-20-2006, 07:42 AM
Hello!
Right now the default for the logo placement is left. How do i move this over to the right side? Like the extra buttons here on vbulletin.org 'home' 'forum' 'mods' 'chat'
regards
Marius
ragtek
12-20-2006, 07:57 AM
edt the header template
zkilzz
12-20-2006, 08:01 AM
I know. But what to code. This my current template.
<!-- 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="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<br>
<!-- content table -->
$spacer_open
$_phpinclude_output
Here you can see my problem.
http://www.bilforumet.net/images/align.jpg
ragtek
12-20-2006, 08:28 AM
change align="center"> into align="right">
zkilzz
12-20-2006, 08:36 AM
change align="center"> into align="right">
Sorry mate!
That turned it into this.
http://www.bilforumet.net/images/feil.jpg
rogersnm
12-20-2006, 09:28 AM
Try: <!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"> </td>
<td align="$stylevar[right]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<br>
<!-- content table -->
$spacer_open
$_phpinclude_output
zkilzz
12-20-2006, 09:34 AM
I fixed it.
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"> </td>
<td align="$stylevar[right]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a> </td>
</tr>
</table>
<!-- /logo -->
<br>
<!-- content table -->
$spacer_open
$_phpinclude_output
rogersnm
12-20-2006, 09:35 AM
Didn't I just post that code?
zkilzz
12-20-2006, 09:43 AM
Okay now i have a new alignment problem!
I need to get the logo a bit down to align with the main table.
http://www.bilforumet.net/images/feil2.jpg
rogersnm
12-20-2006, 09:45 AM
ok, just ignore me...
you could try: <!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"> </td>
<td align="$stylevar[right]" style="padding-top: 10px;"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<br>
<!-- content table -->
$spacer_open
$_phpinclude_output
Find padding-top: 10px; and change 10 to the amount of padding you want (experiment with it)
zkilzz
12-20-2006, 09:46 AM
Didn't I just post that code?
Haha you did! I didn't see it until now!
rogersnm
12-20-2006, 10:06 AM
lol, ok, I'll forgive you :p
zkilzz
12-20-2006, 10:21 AM
lol, ok, I'll forgive you :p
I have tried to pad it but it only pushes the main table further down so it dont align again. Hmmm what to do?
rogersnm
12-20-2006, 11:44 AM
you could try getting rid of the line break xD <!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"> </td>
<td align="$stylevar[right]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
zkilzz
12-21-2006, 09:42 AM
Finally! :D Thanks guys! Now its only the imagemapping and text left:)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.