View Full Version : Member List background stylevar
MoreLinux
12-17-2010, 08:53 AM
Can anyone help me to identify the name of the stylevar that responsible for the background color when I look at a profile (http://www.vbulletin.com/forum/member.php?280482-MoreLinux) in the Member List?
The stylevar I'm looking for is the one in VB4.1.0pl2 see below:
body_wrapper {
background-color: #FFFFFF; <<<<- this one
background-repeat: repeat;
calorie
12-17-2010, 07:39 PM
That might be this...
.body_wrapper {
padding: {vb:stylevar body_padding};
background: {vb:stylevar body_background};
-moz-border-radius: {vb:stylevar border_radius};
-webkit-border-radius: {vb:stylevar border_radius};
}
MoreLinux
12-17-2010, 09:44 PM
Nope. The background on my site is showing #BBBBBB, but the body_background stylevar is filled with no background color and an background image.
Found it!!! I think it's a bug in userprofile.css
.body_wrapper{
background-color: {vb:raw page_background_color};
background-image: {vb:raw page_background_image};
background-repeat: {vb:raw page_background_repeat};
But there are NO page_background* stylevars :confused:
calorie
12-17-2010, 10:06 PM
Try adding this to the additional.css template and see if it changes that background for you:
.body_wrapper
{
background-color: #CC0000;
}
MoreLinux
12-18-2010, 05:38 AM
@calorie: The addition.css doesn't change the background color in the members list. It stays at the #BBBBBB. The background from the main page and all the forum pages is changed, so no typo in the additional.css
@ calorie: Could you check if you have the three page_background_* stylevars? Maybe my upgrade to VB4.1.0pl2 went wrong?
Edit: I have created an bug report (http://tracker.vbulletin.com/browse/VBIV-10639) @VBulletin bug tracker.
LifesGreatestGift
12-19-2010, 02:36 AM
Put this at the bottom of headinclude
<vb:if condition="THIS_SCRIPT == 'member'">
<style type="text/css">
.body_wrapper {
background-color:#ff0000!important;
}
</style>
</vb:if>
Change the #ff0000 to the color you'd like
MoreLinux
12-19-2010, 07:15 AM
@TheWindows7Site: Thanks. I did already a fix in userprofile.css because the VB bug report was dismissed. It is designed to work like it works :confused:
LifesGreatestGift
12-19-2010, 02:00 PM
Are you asking a question?
MoreLinux
12-19-2010, 07:50 PM
Nope, just thanking you.
LifesGreatestGift
12-19-2010, 07:52 PM
Glad it works for you :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.