vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How can I separate 2 sidebar blocks from each other using a separator (space)? (https://vborg.vbsupport.ru/showthread.php?t=252523)

vexxy 10-24-2010 09:05 AM

How can I separate 2 sidebar blocks from each other using a separator (space)?
 
1 Attachment(s)
I want to separate my sidebar blocks with a white space..but I simply cannot understand how can i do that. I've also attached an image to better point my problem..so basicly the question is, how can i separate the Users Online block from the Hot Topics block?

Tnx in advance

midnz 10-24-2010 03:59 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=245994" target="_blank">add space between the sideblocks</a>

ProFifaLeagues 10-25-2010 09:20 AM

goto your additional.css template and add

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

vexxy 10-26-2010 01:27 PM

1 Attachment(s)
hehe ya, that works...but unfortunately the space between the blocks is grey..and couldn't find the stylevar for that..any ideea? i've attached the screenie. Also, I have trouble removing the whole border..for some reason.

I appreciate all the help

Lynne 10-26-2010 01:30 PM

Post a link to your page with the problem.

vexxy 11-17-2010 05:16 AM

it's my signature forum: www.bytesin.com

tnx alot

Lynne 11-17-2010 01:52 PM

Something like...

#sidebar_container .underblock {background: transparent;}
#sidebar_container > ul {background: transparent; border: 0;}

I think you need to modify the box-shadow on the left in that last one also.

vexxy 11-19-2010 04:57 AM

my additional.css style for this is:

Code:

#sidebar_container .underblock {background: transparent; height: 20px;}
#sidebar_container > ul {
    -moz-border-radius:0px;
    -webkit-border-radius:: 0px;
    -moz-box-shadow: none;
    background:transparent;
    border:0;
}
#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};
}

but there are no visible changes, looks the same :/

Lynne 11-19-2010 02:07 PM

Make all your custom CSS "important" and see if that helps... example:
HTML Code:

background:transparent !important;
    border:0 !important;


vexxy 11-22-2010 06:25 AM

1 Attachment(s)
hmm..with !important it works...hmm :) tnx alot Lynne

one more question tho :)

I don't get it why is the left border on...tried to remove any border/shadow I could find for that style and either i've missed one or...

tnx alot, I really appreciate the help


All times are GMT. The time now is 01:11 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.01079 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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