The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Variable style Private Message
Hi to all!
I have a little problem, I'm Changed the default template but I don't find the parameter for the private message under notifications. Can anybody tell me its name? xD This is the screenshot: Sorry for my bad english Thanks in advance!! |
#2
|
|||
|
|||
Stye Variable 'navbar_popupmenu_link_color'
|
#3
|
|||
|
|||
Thanks but that variable is already black I don't know why I see always white
|
#4
|
|||
|
|||
Could you post a link to your forums?
|
#5
|
|||
|
|||
Sure, www.tuttoandroid.net/forum If you want you can use this credential: morissio_test (as login) morissiot (as password) Thanks in advance! |
#6
|
|||
|
|||
Have you been making edits to the CSS templates? Go to vbulletin-chrome.css in the Style Editor. Find ".toplinks .nonotifications .popupbody a" and ".toplinks ul.isuser .notifications .popupbody li a" in the template. According to Firebug they are missing background and color. They should look like this by default:
HTML Code:
.toplinks .nonotifications .popupbody a { color: {vb:stylevar navbar_popupmenu_link_color}; background: {vb:stylevar navbar_popupmenu_link_background}; float: none; clear: none; padding: 0 {vb:math {vb:stylevar padding}/2}; margin-{vb:stylevar left}: 0; text-align: {vb:stylevar left}; line-height: {vb:stylevar popupmenu_height}; } HTML Code:
.toplinks ul.isuser .notifications .popupbody li a{ color: {vb:stylevar navbar_popupmenu_link_color}; background:{vb:stylevar navbar_popupmenu_link_background}; padding: 0 {vb:math {vb:stylevar padding}/2}; font-weight: normal; border-top:1px solid {vb:stylevar navbar_tab_background.backgroundColor}; /* makes it look consistent with the popup background */ text-align: {vb:stylevar left}; padding-{vb:stylevar left}: 30px; line-height: {vb:stylevar popupmenu_height}; } |
#7
|
|||
|
|||
I don't touch the CSS, I have only modify the variable in admincp -> style & template.
I will check what you suggest me. thanks! --------------- Added [DATE]1357907358[/DATE] at [TIME]1357907358[/TIME] --------------- Hi WorldCraft! I checked the CSS and this is the output: Code:
.toplinks ul.isuser .notifications .popupbody li a{ /*color: {vb:stylevar navbar_selected_popup_body_a_Color};*/ color: #333; padding: 0 {vb:math {vb:stylevar padding}/2}; font-weight: normal; background:{vb:stylevar navbar_popup_link_background}; border-top:1px solid {vb:stylevar navbar_tab_background.backgroundColor}; /* makes it look consistent with the popup background */ /*position: relative;*/ text-align: {vb:stylevar left}; padding-{vb:stylevar left}: 30px; line-height: {vb:stylevar navbar_tab_size.height}px; } Code:
.toplinks .nonotifications .popupbody a { background: {vb:stylevar navbar_popup_link_background}; color: {vb:stylevar navbar_selected_popup_body_a_Color}; float: none; clear: none; padding: 0 {vb:math {vb:stylevar padding}/2}; margin-{vb:stylevar left}: 0; text-align: {vb:stylevar left}; line-height: {vb:stylevar navbar_tab_size.height}px; } Can you help me? Thanks a lot for all your support! |
#8
|
|||
|
|||
For .toplinks ul.isuser .notifications .popupbody li a{
Remove first two lines, that color has an invalid HEX code: HTML Code:
/*color: {vb:stylevar navbar_selected_popup_body_a_Color};*/ color: #333; HTML Code:
{vb:stylevar navbar_popupmenu_link_color}; HTML Code:
/*position: relative;*/ Also, you really should only add custom CSS to the additional.css, and not the specific style sheets. It's a lot easier to track down CSS changes!!! This also will help prevent template problems or conflicts when upgrading versions. |
#9
|
|||
|
|||
Thanks again!
I done what you said: Code:
.toplinks ul.isuser .notifications .popupbody li a{ color: {vb:stylevar navbar_popupmenu_link_color}; padding: 0 {vb:math {vb:stylevar padding}/2}; font-weight: normal; background:{vb:stylevar navbar_popup_link_background}; border-top:1px solid {vb:stylevar navbar_tab_background.backgroundColor}; /* makes it look consistent with the popup background */ text-align: {vb:stylevar left}; padding-{vb:stylevar left}: 30px; line-height: {vb:stylevar navbar_tab_size.height}px; } The text is still white xD |
#10
|
|||
|
|||
My login credential isn't working anymore, so I can't see the rest of the site. My guess at this point is that in another CSS template there might be something in there overriding it still...You could try 'AdminCP -> Styles and Templates -> Search in Templates' and search for ".toplinks ul.isuser .notifications .popupbody li a" and see if it pops up in other places. It should only exist in vbulletin-chrome.css by default. If you can give me another temporary account I can try to look again.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|