Howto: Center Socialbookmarks?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thestaton
    Member
    • Apr 2008
    • 58
    • 3.6.x

    Howto: Center Socialbookmarks?

    I'm curious how you center the social bookmarks? I only use Digg & Reddit and don't like they are left justified.

    thanks,
  • digital_sc4rz
    New Member
    • Dec 2006
    • 17
    • 3.7.x

    #2
    Go to your "SHOWTHREAD" Template and do the following

    Find

    Code:
    <td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
    Replace

    Code:
    <td class="alt2" style="padding-top:0px"><center><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></center></td>
    That will center your social book marking tags for you --

    DiGi

    Comment

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

      #3
      Edit your SHOWTHREAD template and look for the following code:

      Code:
      <!-- social bookmarking links -->
          <br />
          <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">
          <tr>
              <td class="thead">$vbphrase[bookmarks]</td>
          </tr>
          <tr>
              <td class="alt2" [COLOR=Red]align="center"[/COLOR] style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
          </tr>
          </table>
      <!-- / social bookmarking links -->
      Add the code in RED and save.

      EDIT:

      Too late, digital_sc4rz got there before me. Slightly different code, same result.

      Comment

      • thestaton
        Member
        • Apr 2008
        • 58
        • 3.6.x

        #4
        it sort of worked... it moved them over slightly but not centered.



        strange.

        Comment

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

          #5
          Have you deleted the other 2 icons from admincp or have you simply made then inactive?

          Comment

          • thestaton
            Member
            • Apr 2008
            • 58
            • 3.6.x

            #6
            Originally posted by glennybee
            Have you deleted the other 2 icons from admincp or have you simply made then inactive?
            They where inactive, but I just deleted them and it's still off centered...

            Comment

            • digital_sc4rz
              New Member
              • Dec 2006
              • 17
              • 3.7.x

              #7
              The above does work - Its looking that way coz you only have two working on your website -- I would look @ this template

              showthread_bookmarksite

              and play about with that to try and center the two


              Hope this helps you

              DiGi

              Comment

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