View Full Version : Center up Sidebar content
lamur
11-30-2012, 07:18 PM
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...
Amaury
11-30-2012, 07:28 PM
In your member.css template, find this:
.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 (http://www.kh-mediaflare.net/member.php?18-Amaury) what you're wanting the content area to look like?
lamur
11-30-2012, 07:34 PM
Exactly what I needed. I changed both to 300 and it's right where it should be. Thank you very much for your help!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.