vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   vBulletin Forum Sideblocks - add space between the sideblocks (https://vborg.vbsupport.ru/showthread.php?t=245994)

COL NIL SATIS 07-05-2010 10:00 PM

add space between the sideblocks
 
1 Attachment(s)
This code adds space between the sideblocks

goto your additional.css template and add at the very bottom

HTML Code:

#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 sidebar_background.backgroundColor};
    border:{vb:stylevar forum_sidebar_border};
    -moz-border-radius:{vb:stylevar border_radius};
    -webkit-border-radius: {vb:stylevar border_radius};
    -moz-box-shadow:-2px 2px 2px {vb:stylevar shadow_color};
}

For CMS add at the very bottom of addittional.css

HTML Code:

.cms_widget {margin-bottom: 10px;}
Thanks to :

Original code provided by Lynne :up: Tweaked to work with all versions of vbulletin upto 4.1.3,it'll probably work with the latest version too!!
Charlie9802 for providing CMS Code :up:

Code updated!!! 2-6-2011

tested on 4.1.3 so far all previous versions it will work on



Enjoy :)

giorgino 07-06-2010 06:11 PM

Perfect :) And for CMS blocks?

COL NIL SATIS 07-06-2010 06:20 PM

Dont know about CMS mate cos i dont have that ...but it could work ,maybe someone on here could put the CMS code in :up:

giorgino 07-06-2010 08:17 PM

Ok thanks :) I hope someone provide the CMS code :)

ProFifaLeagues 07-06-2010 09:12 PM

Nice work mate!

Charlie98902 07-06-2010 09:28 PM

Not supported but try this and if I remember right Lynne posted this originally?

Put this in the additional.css template:

Code:

.cms_widget {margin-bottom: 10px;}

COL NIL SATIS 07-06-2010 09:34 PM

Quote:

Originally Posted by Charlie98902 (Post 2065529)
Not supported but try this and if I remember right Lynne posted this originally?

Put this in the additional.css template:

Code:

.cms_widget {margin-bottom: 10px;}

Nice one Charlie :up:

Dr.osamA 07-07-2010 01:35 AM

tanxxx bro

installed + 5 Stars

AURFSCAN 07-07-2010 02:06 AM

tagged for future reference. mine looks better @ 5px :)

vbcms_widget_margin is in stylevars

giorgino 07-07-2010 05:56 AM

Quote:

Originally Posted by Charlie98902 (Post 2065529)
Not supported but try this and if I remember right Lynne posted this originally?

Put this in the additional.css template:

Code:

.cms_widget {margin-bottom: 10px;}

Great! Work! Thank you!!! :)


All times are GMT. The time now is 07:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01262 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete