Announcement

Collapse
No announcement yet.

center a logo

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

  • center a logo

    Hi is there anyone who can please help me with this question

    i have a logo on my forum and its positioned to the left how can i make it to appear center

    i think this is th code for it that i found in the header template

    <td width="300"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img border="0" src="cb/cb/logo.gif" width="300" height="122" alt="$vboptions[bbtitle]" class="logo"/></a></td>
    thanks

  • #2
    Add: <center> at the beginning and </center> at the end....
    || Left 4 Dead ||| SWTOR ||

    Comment


    • #3
      Originally posted by AzH View Post
      Add: <center> at the beginning and </center> at the end....
      where do i add this i tried at the begining of the code it did not work

      Comment


      • #4
        Try:

        Code:
        <td width="300"><center><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img border="0" src="cb/cb/logo.gif" width="300" height="122" alt="$vboptions[bbtitle]" class="logo"/></a></center></td>
        || Left 4 Dead ||| SWTOR ||

        Comment


        • #5
          Originally posted by AzH View Post
          Try:

          Code:
          <td width="300"><center><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img border="0" src="cb/cb/logo.gif" width="300" height="122" alt="$vboptions[bbtitle]" class="logo"/></a></center></td>
          nope still did not work

          Comment


          • #6
            In the header template

            FIND

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

            Code:
            <td align="center">
            Kerry-Anne :)

            Twitter Blog

            www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

            Comment


            • #7
              lol. all of the amazing advances in the new 3.7... you know what we really need? for vb to ship with logos centered BY DEFAULT. everytime I come here there's always at least one "center logo" thread. Nothing against the thread starter btw, I've had my own issues with centering logos and half the time the 'fixes' don't work. With my current board I've just left it left-aligned cos i can't be arsed.

              centered logos by default in 3.8

              Comment


              • #8
                Originally posted by Kerry-Anne View Post
                In the header template

                FIND

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

                Code:
                <td align="center">
                thanks for your help

                Comment


                • #9
                  yeah this is getting annoying..
                  every upgrade you have to revert the header and footer templates..

                  it would be nice if they would hard code what needs to be in there
                  so you dont have to mess around after an upgrade..

                  i agree on the auto centering of the logo or some option in the settings
                  to make it left/center/right

                  Comment


                  • #10
                    Originally posted by Kerry-Anne View Post
                    In the header template

                    FIND

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

                    Code:
                    <td align="center">
                    Thanks my friend Kerry-Anne...

                    This is work perfect 100% for me

                    Comment


                    • #11
                      Thanks!!!!!

                      Comment

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