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)
-   -   Change social group sidebar to right side (https://vborg.vbsupport.ru/showthread.php?t=268605)

davio33 08-16-2011 02:24 AM

Change social group sidebar to right side
 
Does anyone know how to change the location of the social group sidebar to the right side. And also, how to change the width of the social group sidebar?

Thanks

Lynne 08-16-2011 03:45 PM

social group sidebar? I don't know what you are talking about.

davio33 08-16-2011 10:23 PM

Quote:

Originally Posted by Lynne (Post 2234250)
social group sidebar? I don't know what you are talking about.

If you go to a user created group. The sidebar is on the left. It displays the group icon, number of members etc..I believe they are called social groups.

I am using VB 4.14

Here's one ( different version then mine) but you'll see the left sidebar im talking about http://www.vbseo.com/groups/german-people/

Thanks for your help

Lynne 08-17-2011 01:29 AM

So sorry, where was my head? Yes, those are social groups. I know I posted how to do this before with just straight CSS. Try adding this to the additional.css group (I don't know if it works with IE):

HTML Code:

/* Move social groups sidebar to the right */
#sidebar_container.sidebarleft {
    float: right;
    margin-right: 0;
}
#content_container.contentright {
    float: left;
    margin-left: 0;
    margin-right: -{vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}};
}
#content_container.contentright #content {
    margin-left: 0;
    margin-right: {vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}};
}

That works on my test site. You may want to change some other things to make it how you want, like the description going across the top. But, those may require template edits, not just css changes.

setishock 08-17-2011 07:50 AM

Lynne, you're the cat's meow. Thanks! Now I have a starting point to work off of. I want mine to either fan across the top or bottom of the page still anchored to the left side.
Once I get a handle on moving those I'll have some idea of how to reposition the forum sidebar across the bottom of the forum. Or top...

davio33 08-17-2011 08:45 PM

That worked. Thank you so much:)


All times are GMT. The time now is 05:02 AM.

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.01064 seconds
  • Memory Usage 1,721KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete