PDA

View Full Version : Help locating settings for ministats box in user profile


brobert123
03-15-2016, 12:14 AM
I added a new style using the black style generator theme. The ministats box on the user profile page shows white text on white background and I can't find the settings to change background color. Can someone point me to the setting?

It looks like this now:

https://vborg.vbsupport.ru/external/2016/03/14.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-14%2018.04.53_zpsfoswsfm2.png.html)

If I highlight the text box you can see the text is there:

https://vborg.vbsupport.ru/external/2016/03/15.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-14%2018.05.05_zps9fsz61gc.png.html)

I see the settings if I inspect element and if I change the settings it does change, just can't find the setting in the admincp or styles section in the admincp.

https://vborg.vbsupport.ru/external/2016/03/16.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-14%2018.05.23_zpsexep5uyw.png.html)

https://vborg.vbsupport.ru/external/2016/03/17.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-14%2018.05.34_zpsc6eqb7uh.png.html)

webmastersun
03-15-2016, 01:28 PM
You need to provide an URL so that everyone can help you change which you want

Also note things need to be editted on screenshots are better.

Stratis
03-15-2016, 02:56 PM
Some times it is better to give a url.
Any way, find: in template "userprofile.css"
dl.stats dt, #sidebar_container dl.stats, #sidebar_container .blockbody.userprof_content, #sidebar_containerthere is more code after but never mind,

underneath you will see this code
color: {vb:raw content_text_color};change with
color: black;or what else color you want.

There is another way, but this should be ok.

squidsk
03-15-2016, 03:14 PM
No don't do the change that way. Change the stylevar content_text_color to be whatever color you want. It's always better not to edit templates if at all possible.

Paul M
03-15-2016, 06:00 PM
There is another way, but this should be ok.
Sorry but its not ok, at all.

Its a stylevar, and as such should have its stylevar value changed.

Changing it directly to a hard coded value is Im afraid, bad advice.

Stratis
03-15-2016, 06:08 PM
Yes you are right about this, the only problem is that this specific change to stylevar does not exist in all skins. Hope in his will find it.

brobert123
03-15-2016, 06:29 PM
Thanks for the responses guys.... that's the problem, I can't locate the style variable in the CP. Stupid I know but I've looked everywhere.

https://vborg.vbsupport.ru/external/2016/03/13.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-15%2012.16_zpsvfdnotxc.png.html)

squidsk
03-15-2016, 06:53 PM
Change the color attribute of the postbit_color stylevar. The profile pages are a bit weird because it allows css customization by the user.

brobert123
03-15-2016, 07:14 PM
No joy... changed it to black and the ministats window didn't change, still white text on white background.

https://vborg.vbsupport.ru/external/2016/03/10.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-15%2013.01_zpsueobjd8h.png.html)

Whatever it is, it's in here.... I suck at this stuff as it is but I'm racking my brain looking for this.

https://vborg.vbsupport.ru/external/2016/03/11.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-15%2013.03_zpsm0k9xujz.png.html)



https://vborg.vbsupport.ru/external/2016/03/12.png (http://s1156.photobucket.com/user/Brobert1234/media/Screenshot%202016-03-15%2013.08_zpspc1l2akw.png.html)

Stratis
03-15-2016, 08:38 PM
Try in css template, put this code at the end
/***** Change color in user profile sidebar *****/
dl.stats dt, #sidebar_container dl.stats, #sidebar_container, #sidebar_container .userprof_content .time {
color:#ECEC3B;
}

I think this will make the change you want :) make a test.

squidsk
03-15-2016, 08:40 PM
'content_text_color' => self::$stylevars['postbit_color']['color'],
'content_link_color' => self::$stylevars['link_color']['color'],
'content_background_color' => self::$stylevars['postbit_lite_background']['color'],
'content_background_image' => self::$stylevars['postbit_lite_background']['image'],
'content_background_repeat' => self::cleanRepeat(self::$stylevars['postbit_lite_background']['repeat']),
'content_border' => self::$stylevars['postbit_lite_background']['color'],

Sorry, I posted the wrong stylevar to change. I can't follow text from left to right. I've updated my last post and highlighted the relevant part of the code in profilecustomize.php. You really want to change the color attribute of the postbit_color stylevar.

--------------- Added 1458078162 at 1458078162 ---------------

Try in css template, put this code at the end
/***** Change color in user profile sidebar *****/
dl.stats dt, #sidebar_container dl.stats, #sidebar_container, #sidebar_container .userprof_content .time {
color:#ECEC3B;
}

I think this will make the change you want :) make a test.
Why do you keep insisting on having bad changes made. The value is a stylevar, it should be changed as a stylevar. Do not edit templates unless absolutely necessary.

napy8gen
03-20-2016, 03:08 AM
vb4 style generator - black styles may not complete here and there, the small icons are not created for black styles.

You can try my free black styles
http://www.sultantheme.com/2012/01/08/free-discontinued-styles/?did=169