how to remove this 20PX spacer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samiro
    Senior Member
    • Mar 2006
    • 333
    • 4.0.0

    [Forum] how to remove this 20PX spacer

    how to remove this 20PX spacer ?
    what to serch in the stylevars?

    see attachment !
    Attached Files
    My Women's Forums:
  • syrus.xl
    Senior Member
    • Jun 2005
    • 546

    #2
    It is Common -> Padding - but I would not change it yet. It will alter all padding site-wide on vBulletin.

    Comment

    • samiro
      Senior Member
      • Mar 2006
      • 333
      • 4.0.0

      #3
      i know.
      it's alter all padding site-wide and it looks really bad - more than now

      i stinn dont understand whay the team dissable the option to edit the main css from the maincp
      like before
      My Women's Forums:

      Comment

      • samiro
        Senior Member
        • Mar 2006
        • 333
        • 4.0.0

        #4
        anyone ?
        My Women's Forums:

        Comment

        • Lynne
          Former vBulletin Support
          • Oct 2004
          • 26255

          #5
          Anyone what? If you want to only change it for that part of your site, then just change the padding for the one class - I think it's .body_wrapper

          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

          • samiro
            Senior Member
            • Mar 2006
            • 333
            • 4.0.0

            #6
            i can't fint this...
            "body_wrapper"
            and if i change the Padding, it's alter all padding site-wide ...
            My Women's Forums:

            Comment

            • Lynne
              Former vBulletin Support
              • Oct 2004
              • 26255

              #7
              Do a Search in Templates and you will find "body_wrapper" in vbulletin.css

              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

              • samiro
                Senior Member
                • Mar 2006
                • 333
                • 4.0.0

                #8
                still cant fint the 20PX

                .body_wrapper {
                padding: 0 {vb:math 2 * {vb:stylevar padding}} {vb:math {vb:stylevar padding}*2};
                background: {vb:stylevar body_background};
                -moz-border-radius: {vb:stylevar border_radius};
                -webkit-border-radius: {vb:stylevar border_radius};
                }
                cant change the stylevar padding... becouse it will effect al the site padding.
                My Women's Forums:

                Comment

                • Lynne
                  Former vBulletin Support
                  • Oct 2004
                  • 26255

                  #9
                  it's the padding line there. Just put something else in place of it:
                  Code:
                  padding: 0 [COLOR=Red][B]10[/B][/COLOR]px {vb:math {vb:stylevar padding}*2};
                  Change 10 to what you want the left and right padding to be.

                  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

                  • samiro
                    Senior Member
                    • Mar 2006
                    • 333
                    • 4.0.0

                    #10
                    Thank you

                    this suld be bilt in in the stylevar
                    My Women's Forums:

                    Comment

                    • samiro
                      Senior Member
                      • Mar 2006
                      • 333
                      • 4.0.0

                      #11
                      Can I do it now (4.0.2 V) in a simple way - or still have to do the same thing?
                      My Women's Forums:

                      Comment

                      • Lynne
                        Former vBulletin Support
                        • Oct 2004
                        • 26255

                        #12
                        The padding is still the same for the body_wrapper:
                        Code:
                        .body_wrapper {
                            padding: 0 {vb:math 2 * {vb:stylevar padding}} {vb:math {vb:stylevar padding}*2};
                            background: {vb:stylevar body_background};
                            -moz-border-radius: {vb:stylevar border_radius};
                            -webkit-border-radius: {vb:stylevar border_radius};
                        }

                        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

                        • samiro
                          Senior Member
                          • Mar 2006
                          • 333
                          • 4.0.0

                          #13
                          ok - i fixed it
                          My Women's Forums:

                          Comment

                          Related Topics

                          Collapse

                          Working...