View Full Version : Variable style Private Message
Mikhael_
01-11-2013, 05:24 AM
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:
http://img823.imageshack.us/img823/9013/messaggib.png
Sorry for my bad english :)
Thanks in advance!!
WorldCraft
01-11-2013, 05:33 AM
Stye Variable 'navbar_popupmenu_link_color'
Mikhael_
01-11-2013, 05:44 AM
Stye Variable 'navbar_popupmenu_link_color'
Thanks but that variable is already black :( I don't know why I see always white
WorldCraft
01-11-2013, 06:10 AM
Could you post a link to your forums?
Mikhael_
01-11-2013, 06:13 AM
Could you post a link to your forums?
Sure, www.tuttoandroid.net/forum
If you want you can use this credential: morissio_test (as login) morissiot (as password)
Thanks in advance!
WorldCraft
01-11-2013, 06:35 AM
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:
.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};
}
.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};
}
Mikhael_
01-11-2013, 06:46 AM
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 1357907358 at 1357907358 ---------------
Hi WorldCraft!
I checked the CSS and this is the output:
.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;
}
.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;
}
I don't would restore the default code because the founder has edited them some mounth ago. I would only know what I have to fix for set the color #000000 to the text.
Can you help me?
Thanks a lot for all your support!
WorldCraft
01-11-2013, 02:15 PM
For .toplinks ul.isuser .notifications .popupbody li a{
Remove first two lines, that color has an invalid HEX code:
/*color: {vb:stylevar navbar_selected_popup_body_a_Color};*/
color: #333;
Replace with: color: {vb:stylevar navbar_popupmenu_link_color};
Also you should remove:
/*position: relative;*/
And the text should be black again.
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. :)
Mikhael_
01-11-2013, 02:47 PM
Thanks again!
I done what you said:
.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;
}
http://img809.imageshack.us/img809/9910/navbarc.png
The text is still white xD
WorldCraft
01-11-2013, 03:57 PM
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.
Mikhael_
01-11-2013, 05:08 PM
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.
LOL I don't why but now it's ok xD Nobody has change nothing since my previus modify. :D
Can be a cache problem? :confused:
However I want thanks you so much for all support give me... :up:
WorldCraft
01-11-2013, 05:26 PM
Oh, yes, it probably was the browser cache that needed to update after you made that change. :P Glad I could help!
Mikhael_
01-11-2013, 05:34 PM
Oh, yes, it probably was the browser cache that needed to update after you made that change. :P Glad I could help!
LOL I'm going crazy.. I saw it black because I had a MP. Now that I have no MP I see again the text white.. :(
WorldCraft
01-11-2013, 05:43 PM
Oh hm. Ok, well could you provide me with a temporary account again?
Mikhael_
01-11-2013, 05:46 PM
Oh hm. Ok, well could you provide me with a temporary account again?
Already done ;)
I just modified the variable toplinks_link_color and all it's black .. but even the other men? has..
WorldCraft
01-11-2013, 06:06 PM
There still appears to be something wrong with vbulletin-chrome.css....
This part in particular:
.toplinks .nonotifications .popupbody a {
background:;
color:;
}
background and color seem to be empty when I look at the sheet. What you could try, is backup the contents of vbulletin-chrome.css and save them somewhere, and revert the template and see how it looks. I'm not too sure what is going on, but there is a CSS issue somewhere in one of the templates.
Mikhael_
01-11-2013, 06:18 PM
There still appears to be something wrong with vbulletin-chrome.css....
This part in particular:
.toplinks .nonotifications .popupbody a {
background:;
color:;
}
background and color seem to be empty when I look at the sheet. What you could try, is backup the contents of vbulletin-chrome.css and save them somewhere, and revert the template and see how it looks. I'm not too sure what is going on, but there is a CSS issue somewhere in one of the templates.
I will check.. and I will inform you when I will destroy the forum :D
Thanks again ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.