Announcement

Collapse
No announcement yet.

"Last Post" column for my Forum is to wide.

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

  • "Last Post" column for my Forum is to wide.

    Hi,
    "Last Post" column for my Forum is to wide. How I can decrease it?

    Thank you.

  • #2
    Edit the forumhome template and the forumhome_forumbit_level2_post template.

    The width is set to the column, you can decrease it there.

    Comment


    • #3
      Hi,
      Width of “Last Post” column for forumhome_forumbit_level2_post is fine.
      But, I can not change width in forumhome template.

      I am trying to edit this line in forumhome template
      <td class="thead" width="175">$vbphrase[last_post]</td>

      like

      <td class="thead" width="50">$vbphrase[last_post]</td>

      and it is not helpful.

      Can you help me with this?

      Thank you.

      Comment


      • #4
        I think the content of the lastpost is too wide to go as small as 50 pixels wide.

        There is also a forumhome_lastpost template, maybe it has a nowrap="nowrap" in it.

        Comment


        • #5
          Hi,
          I can find forumhome_lastpostby, but not forumhome_lastpost
          Are you sure that forumhome_lastpost template is exists?

          Should I delete nowrap="nowrap"
          <td class="thead" nowrap="nowrap">$vbphrase[last_post]</td>

          I need real help.

          Thank you.

          Comment


          • #6
            Is any luck with this question?

            Thank you.

            Comment


            • #7
              Use forumhome_lastpostby.
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment


              • #8
                Hi,
                What exactly I should change in forumhome_lastpostby to decrease width of “Last Post”column?


                <if condition="$show['lastpostinfo']">
                <div class="smallfont" align="$stylevar[left]">
                <div style="clear:both">
                <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
                <a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
                </div>
                <div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>
                <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
                </div>
                <div align="$stylevar[right]">
                $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
                <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
                </div>
                </div>
                <else />
                <div class="smallfont" align="$stylevar[right]">
                $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
                <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
                </div>
                </if>

                Comment


                • #9
                  Originally posted by Oleks
                  Hi,
                  I can find forumhome_lastpostby, but not forumhome_lastpost
                  Are you sure that forumhome_lastpost template is exists?

                  Should I delete nowrap="nowrap"
                  <td class="thead" nowrap="nowrap">$vbphrase[last_post]</td>

                  I need real help.

                  Thank you.
                  Yes, if you are sure you want to collapse that column when there is too much text in it, remove it.

                  Comment

                  Loading...
                  Working...
                  X