Announcement

Collapse
No announcement yet.

How to center logo

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scott
    replied
    Originally posted by borbole View Post
    You are welcome. Glad to have been of help.

    P.s. The first method I posted should have worked too btw.
    Will try this first when I re-install.

    Thanks again.

    Leave a comment:


  • borbole
    replied
    Originally posted by Scott View Post
    Thanks for the input.
    This did the trick!
    You are welcome. Glad to have been of help.

    P.s. The first method I posted should have worked too btw.

    Leave a comment:


  • Scott
    replied
    Thanks for the input.
    This did the trick!


    Originally posted by borbole View Post
    Try to replace this code:

    HTML Code:
    <td align="$stylevar[left]"><a  href="$vboptions[forumhome].php$session[sessionurl_q]"><img  src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"  /></a></td>
    With this:

    HTML Code:
    <td><div style="margin:0 auto;text-align:center"><a  href="$vboptions[forumhome].php$session[sessionurl_q]"><img  src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"  /></a></div></td>

    Leave a comment:


  • Trevor Hannant
    replied
    What exactly did you change? I just changed:

    Code:
    <td align="$stylevar[left]">
    to

    Code:
    <td align="center">
    and it worked fine on an unmodified board.

    Leave a comment:


  • borbole
    replied
    Originally posted by Scott View Post
    Thanks for the input, still not centered.

    Try to replace this code:

    HTML Code:
    <td align="$stylevar[left]"><a  href="$vboptions[forumhome].php$session[sessionurl_q]"><img  src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"  /></a></td>
    With this:

    HTML Code:
    <td><div style="margin:0 auto;text-align:center"><a  href="$vboptions[forumhome].php$session[sessionurl_q]"><img  src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"  /></a></div></td>

    Leave a comment:


  • Scott
    replied
    Originally posted by borbole View Post
    Try to change the $stylevar[left] to center and see if it would help.
    Thanks for the input, still not centered.

    Leave a comment:


  • borbole
    replied
    Try to change the $stylevar[left] to center and see if it would help.

    Leave a comment:


  • Scott
    replied
    Originally posted by borbole View Post
    Can you post here the code that makes up the logo for your version?
    I'm running 3.8.5

    <!-- 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]" id="header_right_cell">
    <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </td>
    </tr>
    </table>
    <!-- /logo -->

    <!-- content table -->
    $spacer_open

    $_phpinclude_output

    $ad_location[ad_header_end]

    Leave a comment:


  • borbole
    replied
    Originally posted by Scott View Post
    I searched this and found a thread but it seems the header code has changed in 3.8.5

    http://www.vbulletin.com/forum/showt...96-Center-Logo

    Any suggestions?
    Can you post here the code that makes up the logo for your version?

    Leave a comment:


  • Scott
    started a topic How to center logo

    How to center logo

    I searched this and found a thread but it seems the header code has changed in 3.8.5

    http://www.vbulletin.com/forum/showt...96-Center-Logo

    Any suggestions?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X