How to separate sidebar blocks with a white space/any space?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vexxy
    Senior Member
    • Aug 2007
    • 305

    [vB4] How to separate sidebar blocks with a white space/any space?

    I cannot understand how can I separate sidebar blocks from each other? They are all stuck together with no margin whatsoever by default. I've attached a screenie to a better understanding..so how can I separate the first online users block from the second Hot Topics? Nothing fancy..just some white space between them.

    I appreciate all the advices/tips

    Click image for larger version

Name:	Untitled.png
Views:	1
Size:	41.2 KB
ID:	3718958
    SWTOR Forums | Software Forums
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    This is from my CSS Cheatsheet.

    Add this to additional.css:
    HTML Code:
    /* Put spaces between blocks on forumhome page */
    #sidebar_container .underblock {background: none; height: 10px;}
    #sidebar_container > ul {
        -moz-border-radius:0px;
        -webkit-border-radius:: 0px;
        -moz-box-shadow: none;
        background-color:transparent;
        border:0px;
    }
    #sidebar_container .block {
        background-color:{vb:stylevar forum_sidebar_background.backgroundColor};
        border:{vb:stylevar forum_sidebar_border}; 
        -moz-border-radius:{vb:stylevar border_radius}; /* border_radius */
        -webkit-border-radius: {vb:stylevar border_radius}; /* border_radius */
        -moz-box-shadow:-2px 2px 2px {vb:stylevar shadow_color}; 
    }

    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

    • vexxy
      Senior Member
      • Aug 2007
      • 305

      #3
      tnx alot Lynne...worked perfectly
      SWTOR Forums | Software Forums

      Comment

      • vexxy
        Senior Member
        • Aug 2007
        • 305

        #4
        one problem tho...the space between the blocks is grey..I thought that it can be changed from the forum_sidebar stylevars...but no succes

        here's the screenie: Click image for larger version

Name:	screenie.png
Views:	1
Size:	10.9 KB
ID:	3680548

        any ideea how to make it white for example? also...I have trouble removing the whole border..I did from the stylevars but no change...or maybe I modified the wrong stylevar

        tnx again in advance
        SWTOR Forums | Software Forums

        Comment

        • Lynne
          Former vBulletin Support
          • Oct 2004
          • 26255

          #5
          I'd need a link to the page to figure out what the CSS is that needs changing.

          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

          • vexxy
            Senior Member
            • Aug 2007
            • 305

            #6
            sorry for the late response

            here's the forum: http://www.bytesin.com/

            i really appreciate your help Lynne
            SWTOR Forums | Software Forums

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24183
              • 5.7.X

              #7
              That comes from the 'sidebar_contentseparator_background' StyleVar which was introduced in 4.0.8.

              There is also a 'sidebar_contentseparator_height' so this may negate the need for the additional.css code now - you can give that a shot...
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

              • vexxy
                Senior Member
                • Aug 2007
                • 305

                #8
                in the stylevar, sidebar_contentseparator_background is transparent and there is no shadow...but still looks the same
                SWTOR Forums | Software Forums

                Comment

                Related Topics

                Collapse

                Working...
                😀
                😂
                🥰
                😘
                🤢
                😎
                😞
                😡
                👍
                👎