Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 11-30-2012, 07:18 PM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Center up Sidebar content

I have the image of what I am refering too. I upped the fontsize of my forum, and this sidebar is a little screwy right now.. I tried adjusting Padding but that didnt work, so I am assuming it's a CSS setting. But I need the Headers to be one line not doubled up.. Like below:
Join
Date
I want it to say
Join Date...
Attached Images
File Type: jpg sidebar.jpg (32.5 KB, 0 views)
Reply With Quote
  #2  
Old 11-30-2012, 07:28 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your member.css template, find this:

Code:
.member_summary dl.stats dt {
    width: 85px;
    display:block;
    float: {vb:stylevar left};
    clear: {vb:stylevar right};
}

.member_summary dl.stats dd {
    float: {vb:stylevar left};
    clear:{vb:stylevar right};
    display:block;
    width: {vb:math {vb:stylevar profile_sidebar_width}-85px-{vb:math {vb:stylevar sidebar_content_border}*2}-12px-20px};
    margin-left: 8px;
}
Play around with the width until you get what you want. By default, they're both 85px.

The first one takes care of the bold text, such as Join Date, and the second one takes care of the smaller text, such as the activity names (e.g., Viewing Index Example Forum).

Somebody can probably explain it better, but I believe the higher the width, the more space there will be (e.g., Current Activity is on one line) and the lower it is the less space there is (e.g., Current and Activity would be on separate lines). I believe it's vice-versa for the second, though.

It's it higher, it looks like this:
Viewing Index
Example Forum

If it's lower, it looks like this:
Viewing Index Example Forum

Again, somebody else -- probably Lynne -- can explain it better than me, but that should give you an idea.

Is this what you're wanting the content area to look like?
Reply With Quote
Благодарность от:
lamur
  #3  
Old 11-30-2012, 07:34 PM
lamur lamur is offline
 
Join Date: Apr 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly what I needed. I changed both to 300 and it's right where it should be. Thank you very much for your help!
Reply With Quote
Благодарность от:
Amaury
Reply

Thread Tools
Display Modes

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:49 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.04038 seconds
  • Memory Usage 2,196KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (2)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete