vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Everywhere Sidebar 4 VB4 (https://vborg.vbsupport.ru/showthread.php?t=233871)

Damsella 01-12-2011 08:29 AM

Quote:

Originally Posted by Rob F (Post 2147446)
Having slight issues with the positioning of the sidebar.

Works fine in all areas except top positioning. Tried the fix above (forumhome.css) but couldn't find #sidebar_container at all.

Currently have it positioning itself differently for forumhome, subforum and inside a thread as can be seen in images attached.

Help please?

Forum Home
https://vborg.vbsupport.ru/attachmen...1&d=1294737332

Sub-forum
https://vborg.vbsupport.ru/attachmen...1&d=1294737332

And thread look
https://vborg.vbsupport.ru/attachmen...1&d=1294737332

Quote:

Originally Posted by almannai (Post 2147495)
That is because sidebar css has been moved from forumhome.css to sidebar.css. You will find #sidebar_container there.


Good luck

I am having the same issue. I don't quite understand what you mean about the css file - what should I do, exactly?

Many thanks for all your help!

almannai 01-12-2011 03:48 PM

Quote:

Originally Posted by Damsella (Post 2147938)
I am having the same issue. I don't quite understand what you mean about the css file - what should I do, exactly?

Many thanks for all your help!

To Adjust sidebar top level:

form admincp

open forumhome.css in the style you want to change or use the master style to effect all styles

change the padding size for #sidebar_container as you wish
eg
padding:50px 0;

mccollin 01-12-2011 04:04 PM

Quote:

Originally Posted by almannai (Post 2148084)
To Adjust sidebar top level:

form admincp

open forumhome.css in the style you want to change or use the master style to effect all styles

change the padding size for #sidebar_container as you wish
eg
padding:50px 0;

This doesn't work for me (4.1 PL2). I put this in the bottom of forumhome.css and I see the code show up in Firebug, but its crossed out and overridden by the same CSS that must be occuring later in the code stream. Any idea what other template it may occur in?

mccollin 01-12-2011 04:16 PM

Also, anyone using this with 4.1.1 yet?

mccollin 01-12-2011 04:22 PM

Quote:

Originally Posted by mccollin (Post 2148091)
This doesn't work for me (4.1 PL2). I put this in the bottom of forumhome.css and I see the code show up in Firebug, but its crossed out and overridden by the same CSS that must be occuring later in the code stream. Any idea what other template it may occur in?

Its the code in sidebar.css that is overriding what is in forumhome.css for #sidebar_container. Is sidebar.css part of vbulletin, or is that something from this add-on?

almannai 01-12-2011 04:38 PM

Quote:

Originally Posted by mccollin (Post 2148091)
This doesn't work for me (4.1 PL2). I put this in the bottom of forumhome.css and I see the code show up in Firebug, but its crossed out and overridden by the same CSS that must be occuring later in the code stream. Any idea what other template it may occur in?

You don't have to add anything it is there you just need to change its value
Pls read the mod thread carefully all the information is in the main thread

Quote:

Originally Posted by mccollin (Post 2148099)
Its the code in sidebar.css that is overriding what is in forumhome.css for #sidebar_container. Is sidebar.css part of vbulletin, or is that something from this add-on?

sidebar.css is part of vbulletin

mccollin 01-12-2011 04:46 PM

Here is my forumhome.css. There is no "sidebar_container" in it. This is 4.1PL2 reverted template.

Code:

@charset "UTF-8";
/* CSS Document */

#forums {
width: 100%;
}

#welcomemessage {
        color:{vb:stylevar body_color};
        font-size:100%;
}

.forumhead + .childforum .L2:first-child .forumrow, .forumhead + .L2 .forumrow {
        background: {vb:stylevar forumrow_firstentry_background};
        _background-image: none;
        border-top: 1px solid {vb:stylevar body_background.backgroundColor};
}

/* forumbit nopost */
/* forumbit nopost -> forumhead */
.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
        display:block;
        float: {vb:stylevar left};
        clear: {vb:stylevar right};
        font: {vb:stylevar forumhead_font};
        padding: {vb:math {vb:stylevar padding}/2-1} 0;
        color: {vb:stylevar forumhead_color};
}

.forumbit_nopost .forumhead h2, .forumbit_post .forumhead h2 {
        margin-{vb:stylevar left}: 3px;
        margin-{vb:stylevar right}: 3px;
}
.forumbit_nopost {
        clear:{vb:stylevar left};
}
.forumbit_nopost .forumrowdata {
        clear:both;
        display:block;
        width: 100%;
}

.forumbit_nopost .subforumdescription {
        padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
        font-weight: normal;
        color: {vb:stylevar blocksubhead_color};
        background: {vb:stylevar blocksubhead_background};
}


Damsella 01-12-2011 05:55 PM

Quote:

Originally Posted by almannai (Post 2148084)
To Adjust sidebar top level:

form admincp

open forumhome.css in the style you want to change or use the master style to effect all styles

change the padding size for #sidebar_container as you wish
eg
padding:50px 0;

My problem is not the top level. My problem, as is shown in those shots, is that on the Forum Home page the text is next to the avatars, but on every other part of the site the text is under the avatars.

almannai 01-13-2011 06:18 AM

Quote:

Originally Posted by mccollin (Post 2148105)
Here is my forumhome.css. There is no "sidebar_container" in it. This is 4.1PL2 reverted template.

Code:

@charset "UTF-8";
/* CSS Document */
 
#forums {
width: 100%;
}
 
#welcomemessage {
    color:{vb:stylevar body_color};
    font-size:100%;
}
 
.forumhead + .childforum .L2:first-child .forumrow, .forumhead + .L2 .forumrow {
    background: {vb:stylevar forumrow_firstentry_background};
    _background-image: none;
    border-top: 1px solid {vb:stylevar body_background.backgroundColor};
}
 
/* forumbit nopost */
/* forumbit nopost -> forumhead */
.forumbit_nopost .forumhead .forumtitle, .forumbit_nopost .forumhead span, .forumbit_nopost .forumhead .collapse, .forumbit_post .forumhead h2 span {
    display:block;
    float: {vb:stylevar left};
    clear: {vb:stylevar right};
    font: {vb:stylevar forumhead_font};
    padding: {vb:math {vb:stylevar padding}/2-1} 0;
    color: {vb:stylevar forumhead_color};
}
 
.forumbit_nopost .forumhead h2, .forumbit_post .forumhead h2 {
    margin-{vb:stylevar left}: 3px;
    margin-{vb:stylevar right}: 3px;
}
.forumbit_nopost {
    clear:{vb:stylevar left};
}
.forumbit_nopost .forumrowdata {
    clear:both;
    display:block;
    width: 100%;
}
 
.forumbit_nopost .subforumdescription {
    padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
    font-weight: normal;
    color: {vb:stylevar blocksubhead_color};
    background: {vb:stylevar blocksubhead_background};
}


still you didn't read my directions above here is it again (see the last line):

To Adjust sidebar top level:

form admincp

open forumhome.css in the style you want to change or use the master style to effect all styles

change the padding size for #sidebar_container as you wish
eg
padding:50px 0;
Note:In the new vb versions sidebar css has been moved from forumhome.css to separate file called sidebar.css

smnet 01-15-2011 01:37 AM

almannai, editing the sidebar.css template works well for forumhome.... however, the alignment is breaking in other pages - this is an unmodded stock board.

the container will require different padding depending on the page you are viewing. Worse still, the padding required also varies between FF, IE and Safari

Hope this helps


All times are GMT. The time now is 09:21 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.04046 seconds
  • Memory Usage 1,766KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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