PDA

View Full Version : Need help with Settings StyleVar (UserCP)


LifesGreatestGift
12-27-2009, 11:22 AM
https://vborg.vbsupport.ru/external/2009/12/20.png

I have looked for ever trying to find what I need to edit in the stylevars to change this header backgrounds in the UserCP page to match what it looks like at the top right of the pic.

Any help would be appreciated.

Thanks in advance. :)

Lynne
12-27-2009, 02:51 PM
Search for "#usercp_nav .blockhead" in your templates.

Also read this article - HOW TO Find what Stylevar you need to edit (https://vborg.vbsupport.ru/showthread.php?t=230309)

Charlie98902
12-27-2009, 05:58 PM
Is it there now Lynne? When I update to gold and patch level one it was still hard coded as the stylvar effected more than that area.

Lynne
12-27-2009, 06:05 PM
Is what there? That is the class. You may do a search and see what stylevars are used. If there is no stylevar used, then just change it there, or overwrite it in your own css file.

Charlie98902
12-27-2009, 07:16 PM
Correct as when I did the subhead change it also changed the user profile tabs too. It has been noted and reported by Zachery too. I just don't remember what it was I change but it is hard coded last I looked. It can be changed though.

Charlie98902
12-27-2009, 09:04 PM
Here is the hard coded line I do believe.

#usercp_nav .blockhead {
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
background:url("images/buttons/newbtn_middle.png") repeat-x scroll 0 0 #007171;
border:1px solid #5A7F97;
color:#FFFFFF;
padding:4px 10px;

I would also like to ask will you share your code and pics so I can use this like you have? I would love to have the same and yes it looks funny as I blew it up some. The user gif and the lock is what I am referring to.

See attachment.

LifesGreatestGift
12-28-2009, 05:53 AM
Thank you, that worked perfectly :)

Charlie98902
12-28-2009, 10:02 AM
You are welcome. Any chance that you'll share that code I posted a pic of that you are using on your forum?

Lynne
12-28-2009, 02:08 PM
You are welcome. Any chance that you'll share that code I posted a pic of that you are using on your forum?
I am guessing that he just replaced the phrases in the code with the image code to the person/lock.

Charlie98902
12-28-2009, 03:23 PM
I'll start my own thread on this now as you kind of lost me but I understand at the same.