Announcement

Collapse
No announcement yet.

Change posts count appearance?

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

  • Change posts count appearance?

    What I want to do is very simple and I've done it on other versions of vB, but it has been a while and I need a quick refresher course

    What I need to do is to move all of that empty space between the word "post:" and the number (see screenshot). I'd like to change the number to left align, and the word "post:" to right align. What is the correct code, and in which template do I do it in. I'm not using legacy so I'm guess postbit?

  • #2
    Just the "Posts" entry or is the entire block to be done?
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      This requires custom coding; you should post over on vBulletin.org Forum.
      Former vBulletin user

      Comment


      • #4
        Originally posted by Mark.B View Post
        Just the "Posts" entry or is the entire block to be done?
        Just the posts entry. Thanks.

        Comment


        • #5
          Add the following to your additional.css template:

          Code:
          .postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt {
          float: left;
          text-align: right;
          }
          
          .postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a, .postbitlegacy dl.user_rep dd {
          float: left;
          }
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #6
            For some reason I'm getting this error when I go to that section:

            Warning: Invalid argument supplied for foreach() in [path]/admincp/css.php on line 451

            Comment


            • #7
              You're going to the wrong place.

              AdminCP > Styles & Templates > Search In Templates
              search for
              additional.css
              Then paste the code at the bottom of that template.
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.5.2 Demo
              AdminAmmo - My Cloud Demo

              Comment


              • #8
                OK THANKS guys. Appreciate the help.

                Adding the code did not do anything.

                Just to be clear, I'm trying to get it from looking like this:
                http://www.angelars.com/img/forum/postnumber.jpg

                to looking like this:
                http://www.angelars.com/img/forum/postnumber2.jpg
                Last edited by Bubble #5; Thu 15th Aug '13, 11:53am.

                Comment


                • #9
                  If your information is on the left, you're using postbit_legacy. If your information is on the top then you're using postbit. Should be the same code without the _legacy.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                  vBulletin 5 Documentation - Updated every Friday. Report issues here.
                  vBulletin 5 API - Full / Mobile
                  I am not currently available for vB Messenger Chats.

                  Comment


                  • #10
                    Originally posted by Wayne Luke View Post
                    If your information is on the left, you're using postbit_legacy. If your information is on the top then you're using postbit. Should be the same code without the _legacy.
                    Just to be clear, we are using POSTBIT. (not legacy). Thanks.

                    Comment


                    • #11
                      Right aligning "Posts:" is not going to align it with the ":" in the item above. You need to set a width for all the items on the left and align them all right and then align all the items on the right to the left. You may want to try a search on vbulletin.org regarding this since I know we have posted the CSS for it before over there.

                      Please don't PM or VM me for support - I only help out in the threads.
                      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                      Want help modifying your vbulletin forum? Head on over to vbulletin.org
                      If I post CSS and you don't know where it goes, throw it into the additional.css template.

                      W3Schools <- awesome site for html/css help

                      Comment

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