Column problem on threads

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fov
    New Member
    • May 2008
    • 6

    Column problem on threads

    Hi,
    Im trying to create a column down the right hand side of the page on all pages but below the nav bar which needs to span the whole page.
    I have added the below code to the very bottom of the nav bar template:
    Code:
    $ad_location[ad_navbar_below]
    
    
    <!--Columns -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
        <tr>
    
        <td valign="top">
    
    <!-- /Columns -->
    I have also added this to the footer

    Code:
    $ad_location[ad_footer_start]
    
    <br />
    <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
    <br />
    
    $spacer_close
    <!-- /content area table -->
    
    <!-- ########################### Columns ########################### -->
    </td>
    
        <td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">
            YOUR CONTENT HERE
        </td>
    
        </tr>
    </table>
    
    
    <!-- ########################### /Columns ########################### -->
    Its all working ok on the forum home and thread list but when viewing the thread and memberlist it indents as attached.

    Is there anotherway or better way or way which works to do this?

    Im using vB 3.8.1, no addons and this is the only change to style so far.

    Thanks
    Attached Files
  • glennybee
    Senior Member
    • Feb 2008
    • 1005
    • 3.7.x

    #2
    Try changing:

    Code:
    <td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">
    to...

    Code:
    <td class="page" style="padding: 0px 0px 0px 0px" valign="top" width="150">
    Play about with the 0px values (change one to 15px) and see how it affects the column.

    You say it's on the right of the forum but your pictures are on the left?

    Comment

    • fov
      New Member
      • May 2008
      • 6

      #3
      Thanks.
      Ive maybe explained it wrong.
      The images are the bits which are broken.
      Ive attached some more images which will hopefully explain it a bit more.
      One shows how it works on the forumhome and the other how it breaks on a thread. All the same code as above.

      I really cant see what ive broken. Been tearing me hair out (well i would have been if i had any).
      Cheers
      Attached Files

      Comment

      • fov
        New Member
        • May 2008
        • 6

        #4
        Finally got it. The issue was $stylevar[spacersize] in $spacer_open being compounded as its now in a table.

        Thanks to Prinston @vbulleting.org for giving me the hint I needed to get on the right track.

        Comment

        • glennybee
          Senior Member
          • Feb 2008
          • 1005
          • 3.7.x

          #5
          Glad you got it sorted in the end. Well done!

          Sometimes I feel there is a lack of help with these kinds of modifications.

          Comment

          • fov
            New Member
            • May 2008
            • 6

            #6
            Thanks
            I was surprised how little info and help there was on this subject but I did get the eventually.

            Comment

            • slobra
              New Member
              • Aug 2008
              • 4

              #7
              This worked for the right side of my 3.8.2 forum (thanks a lot!) but I'm trying to do the same thing on the left side. Can someone help?

              Comment

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