Easy way to align whole forum to the left ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Devalin
    Member
    • Nov 2001
    • 30

    Easy way to align whole forum to the left ?

    Is there an easy way to align the whole forum to the left, while still keeping it a fixed size, ie 760 pixels.

    I've found a few references to center in some of the forum templates but changing just one or two seems to break other things (ie some of the sub panels appear on the right off the forum, rather than below it).

    I suppose i could encase the whole forum in another table, but i was wondering if there was an easier way, other than that vb3.0 is working great, the new features push it well ahead of the other free/licenses competitors.
  • RetroDreams
    Senior Member
    • Oct 2003
    • 167

    #2
    Bump.

    Comment

    • Zachery
      Former vBulletin Support
      • Jul 2002
      • 59097

      #3
      I belive if you look at the header template you might find what you need

      Comment

      • RetroDreams
        Senior Member
        • Oct 2003
        • 167

        #4
        Originally posted by Faranth
        I belive if you look at the header template you might find what you need
        I've changed everything possible in the header template and it always looks like a wreck.

        Comment

        • Floris
          Senior Member
          • Dec 2001
          • 37767

          #5
          Don't forget to modify the template: spacer_open it has a few "center" alignments set which you might want to change to "left".

          That, together with the header and footer templates where you can apply the same changes, might provide the wanted result

          Good luck.

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            Ah thanks Floris, i totaly forgot about spacer open, dang new templates

            Comment

            • Floris
              Senior Member
              • Dec 2001
              • 37767

              #7
              No problem

              Comment

              • jostar
                New Member
                • Mar 2004
                • 1

                #8
                Easy

                Gee, Do you think there is any easier way?
                Like if I post my code here can someone show me the change with different color for LEFT align?

                "Spacer_Open"

                <!-- open content container -->
                <if condition="$show['old_explorer']">
                <table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td bgcolor="#FFFFFF" class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
                <else />
                <div align="center">
                <div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
                <div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
                </if>




                "header"

                <!-- logo -->
                <table bgcolor="#D3D8E0" class="bordert" border="0" width="762" cellpadding="0" cellspacing="0" align="center">
                <tr><td>
                <a name="top"></a>
                <div align="center">

                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                <td width="100%" align="left" valign="top" style="background: #FFFFFF;"><a href="
                src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></a></td>
                </tr>
                </table>

                <!-- nav buttons bar -->
                <div align="center" class="navbg">
                <table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" height="29" align="center" style="border-top-width:0px" class="navbg">
                <tr align="center" class="navbg">
                <!--<td class="navbg"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->

                <if condition="$show['member']">
                <td class="navbg" height="29"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                <td class="navbg" height="29"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
                </if>
                <td class="navbg"><a href="faq.php?$session[sessionurl]">$vbphrase[faq]</a></td>
                <td class="navbg"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
                <td class="navbg"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">
                <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="navbg"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="navbg"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" class="navbg"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                </if>
                <if condition="$bbuserinfo['userid']">
                <td id="usercptools" class="navbg"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
                </if>
                <else />
                <if condition="$show['searchbuttons']">
                <td class="navbg"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td class="navbg"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="navbg"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
                </if>
                </if>
                <td class="navbg"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
                <if condition="$bbuserinfo['userid']">
                <td class="navbg"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,r esizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
                </if>
                </if>
                <if condition="$bbuserinfo['userid']">
                <td class="navbg"><a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
                </tr>
                </table>
                </div>
                <!-- / nav buttons bar -->

                <if condition="$show['popups']">
                <!-- NAVBAR POPUP MENUS -->

                <div align="center">

                <if condition="$show['searchbuttons']">
                <!-- header quick search form -->
                <div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="left">
                <table cellpadding="4" cellspacing="1" border="0" align="left">
                <tr>
                <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                <td class="vbmenu_option" title="nohilite">
                <form action="search.php" method="post">
                <input type="hidden" name="do" value="process" />
                <input type="hidden" name="showposts" value="0" />
                <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                </form>
                </td>
                </tr>
                <tr>
                <td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></td>
                </tr>
                </table>
                </div>
                <!-- / header quick search form -->
                </if>

                <if condition="$show['member']">
                <!-- user cp tools menu -->
                <div class="vbmenu_popup" id="usercptools_menu" style="display:none" align="left">
                <table cellpadding="4" cellspacing="1" border="0" align="left">

                <tr><td class="thead">$vbphrase[quick_links]</td></tr>
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,r esizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

                <tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
                <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
                <if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

                <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
                <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
                <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

                </table>
                </div>
                <!-- / user cp tools menu -->
                </if>
                </div>
                <!-- / NAVBAR POPUP MENUS -->
                </if>

                </div>
                <!-- content table -->
                $spacer_open

                <br />
                $_phpinclude_output
                Last edited by jostar; Wed 14 Apr '04, 2:30am.

                Comment

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