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)
-   -   Member List background stylevar (https://vborg.vbsupport.ru/showthread.php?t=255404)

MoreLinux 12-17-2010 08:53 AM

Member List background stylevar
 
Can anyone help me to identify the name of the stylevar that responsible for the background color when I look at a profile in the Member List?

The stylevar I'm looking for is the one in VB4.1.0pl2 see below:
Code:

body_wrapper {
    background-color: #FFFFFF;  <<<<- this one
    background-repeat: repeat;


calorie 12-17-2010 07:39 PM

That might be this...
Code:

.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

Code:

.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:
Code:

.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 @VBulletin bug tracker.

LifesGreatestGift 12-19-2010 02:36 AM

Put this at the bottom of headinclude

Code:

<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 :)


All times are GMT. The time now is 06:43 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.01145 seconds
  • Memory Usage 1,724KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete