Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
add space between the sideblocks Details »»
add space between the sideblocks
Version: 4.13, by COL NIL SATIS COL NIL SATIS is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: vBulletin Forum Sideblocks - Version: 4.0.3 Rating:
Released: 07-05-2010 Last Update: Never Installs: 86
Template Edits
Re-useable Code Translations  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Macgiber, maneri, mapleleaffans, TheTrust

Comments
  #62  
Old 10-11-2011, 01:18 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I fixed the shadow issue for Chrome.

Find these lines in sidebar.css

Code:
#sidebar_container > ul {
	background:{vb:stylevar sidebar_background};
	border:{vb:stylevar sidebar_border};
	-moz-border-radius:{vb:stylevar border_radius};
	-webkit-border-radius: {vb:stylevar border_radius};
	border-radius: {vb:stylevar border_radius};
       -moz-box-shadow:-2px 2px 2px {vb:stylevar shadow_color};
	-webkit-box-shadow:-2px 2px 2px {vb:stylevar shadow_color};
	box-shadow:-2px 2px 2px {vb:stylevar shadow_color};
        float:{vb:stylevar left};
	width:100%;
}
Replace it with this.

Code:
#sidebar_container > ul {
	background:{vb:stylevar sidebar_background};
	border:{vb:stylevar sidebar_border};
	-moz-border-radius:{vb:stylevar border_radius};
	-webkit-border-radius: {vb:stylevar border_radius};
	border-radius: {vb:stylevar border_radius};
        float:{vb:stylevar left};
	width:100%;
}
Now go and replace the code from this mod with this code.

Quote:
#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};
-webkit-box-shadow:-2px 2px 2px {vb:stylevar shadow_color};
box-shadow:-2px 2px 2px {vb:stylevar shadow_color};
}
Confirmed working on a 4.1.4 board and Chrome, Firefox, IE browsers. I have checked others.
Reply With Quote
Благодарность от:
COL NIL SATIS
  #63  
Old 10-17-2011, 08:44 AM
pantani's Avatar
pantani pantani is offline
 
Join Date: Dec 2007
Location: Belgium
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks works fine 4.1.7
Reply With Quote
Благодарность от:
COL NIL SATIS
  #64  
Old 10-19-2011, 01:37 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheTrust View Post
myself i changed the background

instead of

HTML Code:
#sidebar_container .underblock {background: none; height: 10px;}
to:

HTML Code:
#sidebar_container .underblock {background: url("link of your bg image"); height: 26px;}
it gives a nice look

thank you COL NIL SATIS for your great work
You are Welcome
Reply With Quote
  #65  
Old 11-14-2011, 09:10 PM
albanah albanah is offline
 
Join Date: Jan 2010
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the code for blog sidebar?
Please help
Reply With Quote
  #66  
Old 01-06-2012, 09:14 PM
AddwireCom AddwireCom is offline
 
Join Date: Mar 2011
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still have a shadow on Firefox, i dont is there an update for Version 4.1.9?
Reply With Quote
  #67  
Old 01-17-2012, 04:25 PM
Ra11en Ra11en is offline
 
Join Date: Sep 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 4.1.9 and is working great. Thanks!! Makes it look so much better!
Reply With Quote
  #68  
Old 01-25-2012, 03:45 PM
lfreem2 lfreem2 is offline
 
Join Date: Jul 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet! Works like a charm on 4.1.10! Thanks for sharing!
Reply With Quote
  #69  
Old 01-25-2012, 10:29 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by albanah View Post
what is the code for blog sidebar?
Please help
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;}
Reply With Quote
  #70  
Old 06-10-2013, 06:52 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great on vb4.2.1

Thanks
Reply With Quote
  #71  
Old 03-12-2014, 05:49 AM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great on 4.2.2, thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08099 seconds
  • Memory Usage 2,342KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete