Announcement

Collapse
No announcement yet.

Howto: Center Socialbookmarks?

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

  • 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,

  • #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


    • #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" align="center" 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.
      Digital Kaos Satellite Forum
      SEO Blog Pagerank Checker
      Free File Hosting

      Comment


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

        http://www.internetinjustice.com/for...y-rip-off.html

        strange.

        Comment


        • #5
          Have you deleted the other 2 icons from admincp or have you simply made then inactive?
          Digital Kaos Satellite Forum
          SEO Blog Pagerank Checker
          Free File Hosting

          Comment


          • #6
            Originally posted by glennybee View Post
            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


            • #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...
              X