Announcement

Collapse
No announcement yet.

Space between message and signature?

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

  • [Forum] Space between message and signature?

    Hi all,

    how can I reduce space between post and signature?

    I've found this topic http://www.vbulletin.com/forum/showt...loated+objects but with 4.0.2 it doesn't work anymore :\

    How to fix?
    We climb the mountains / We brave the danger, the stone, the sea / And at the end of the journey, we finally face the gods / Because we try harder / And right here, right now / In the eye of the storm / In the center of the pleasure dome / We're gonna make this night special / Because we rock, harder Michelangelo aka DJ Dominus.

  • #2
    Try adding this to additional.css:

    Code:
    /* move up signature */
    .postbitlegacy .after_content {
    clear:none; }

    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


    • #3
      Originally posted by Lynne View Post
      Try adding this to additional.css:

      Code:
      /* move up signature */
      .postbitlegacy .after_content {
      clear:none; }
      Worked, you rock Ti amooooooooo
      We climb the mountains / We brave the danger, the stone, the sea / And at the end of the journey, we finally face the gods / Because we try harder / And right here, right now / In the eye of the storm / In the center of the pleasure dome / We're gonna make this night special / Because we rock, harder Michelangelo aka DJ Dominus.

      Comment


      • #4
        Originally posted by Lynne View Post
        Try adding this to additional.css:

        Code:
        /* move up signature */
        .postbitlegacy .after_content {
        clear:none; }
        thanks

        Comment


        • #5
          Will that add a line space between the text and the signature so it won't ride right on top on it?
          vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

          vBulletin.org's ol' Moderator

          I have a lifetime terrorist hunting permit - #091101

          chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

          Comment


          • #6
            Hmm, I tried adding it to additional.css but it didn't work.

            I added it through "edit templates". Is there any other way to fix this?

            Comment


            • #7
              In postbit.css

              Find
              Code:
              /*post bit*/
              Add:
              Code:
              .postbitlegacy .after_content {
              clear:right !important;
              Tested and working in 4.0.5
              .

              Comment


              • #8
                That should also work in the additional.css as that runs last, IIRC. Your line:

                clear:none;

                is different than what was posted above. Maybe that is why it worked?
                vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

                vBulletin.org's ol' Moderator

                I have a lifetime terrorist hunting permit - #091101

                chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

                Comment


                • #9
                  Well that's weird, it's not working when I change it.

                  In postbit.css I now have this:

                  /*post bit*/
                  .postbit, .postbitlegacy, .eventbit {
                  margin-bottom: {vb:stylevar padding};
                  display:block;
                  width: 100%;
                  clear:both;
                  position: relative;
                  float: {vb:stylevar left};
                  color: {vb:stylevar body_color};
                  border: {vb:stylevar postbit_border};

                  }

                  .postbitlegacy .after_content {
                  clear:right !important;

                  }
                  But there is still a wide space between the post and signature. I am running version 4.0.5 as well.

                  Comment


                  • #10
                    Originally posted by Boofo View Post
                    That should also work in the additional.css as that runs last, IIRC. Your line:

                    clear:none;

                    is different than what was posted above. Maybe that is why it worked?
                    I'm actually not sure that it did work in additional when I tried it but you are right, it should. Unfortunately I'm not in a position to try it just now. 'clear:none;' used to work in an earlier version but stopped working at some point. I'm not sure why.

                    Originally posted by RevTechnician View Post
                    Well that's weird, it's not working when I change it.

                    In postbit.css I now have this:



                    But there is still a wide space between the post and signature. I am running version 4.0.5 as well.
                    Try this, it really should work for you. Just a thought, make sure you are editing the postbit.css that is for the style you wanting to edit.

                    Code:
                    /*post bit*/
                    .postbitlegacy .after_content {
                    clear:right !important;
                    }  
                    .postbit, .postbitlegacy, .eventbit {
                        margin-bottom: {vb:stylevar padding};
                        display:block;
                        width: 100%;
                        clear:both;
                        position: relative;
                        float: {vb:stylevar left};
                        color: {vb:stylevar body_color};
                        border: {vb:stylevar postbit_border};
                    }
                    I should point out that the amendment will not remove all the space. It does however remove a substantial amount of it leaving a gap of approximately 3cm.
                    Last edited by zappaDPJ; Tue 3rd Aug '10, 10:22am.
                    .

                    Comment


                    • #11
                      It still didn't work, but maybe that's because it's the 3 cm space you're talking about. Then again, the space stays the same either with or without the code. I've made sure that it is applies to the style that is being used too.

                      Is there any way to reduce the gap from 3 cm?

                      Comment


                      • #12
                        What that code change does is it stops the signature being forced to sit below the level of the bottom of the user information on the left. This will only occur if the post content is small though.

                        I don't have the right tools here to test this out but it looks like that extra 3cm of space is coming from the following code in 'postbit.css'

                        Code:
                        .postbitlegacy .postrow.has_after_content {
                            padding-bottom: 4em;
                        }
                        It's a bit of a shot in the dark but you could try '0em' instead of '4em'.
                        .

                        Comment


                        • #13
                          Originally posted by RevTechnician View Post
                          It still didn't work, but maybe that's because it's the 3 cm space you're talking about. Then again, the space stays the same either with or without the code. I've made sure that it is applies to the style that is being used too.

                          Is there any way to reduce the gap from 3 cm?
                          It's hard to troubleshoot something we can't see. Please post a link to a thread that is visible to us that has the signature problem.

                          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


                          • #14
                            Originally posted by Lynne View Post
                            It's hard to troubleshoot something we can't see. Please post a link to a thread that is visible to us that has the signature problem.
                            Alright, here is an example: Link

                            There are two users active in that thread, both with signatures, and both with the space.

                            Comment


                            • #15
                              I've taken a quick look at your forum and I can see that you still have the standard layout present.

                              So that you can see that the code I've given you in post #10 is working take a look here: http://www.oap-clan.co.uk/forum/show...porting-Thread

                              You'll see that where a user has a signature and made a short post, the dividing line between post content and signature has moved up above the bottom of the user information contained on the left hand side. If you look at Lynne's post above you'll see that even though it's a short post that line is below the user information area which is the standard layout.

                              The space that remains in forum I linked above can be removed by changing the value of'padding-bottom' as laid out in post #12 here. When set to zero and coupled with the fix given in #10 there is no space left at all between the post content and signature. I've test it and it does work.

                              I hope you get it sorted, I'm away for a couple of weeks so I can't feedback for a while.
                              .

                              Comment

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