Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2013, 06:24 AM
Mikhael_ Mikhael_ is offline
 
Join Date: Jan 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!!
Reply With Quote
  #2  
Old 01-11-2013, 06:33 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stye Variable 'navbar_popupmenu_link_color'
Reply With Quote
  #3  
Old 01-11-2013, 06:44 AM
Mikhael_ Mikhael_ is offline
 
Join Date: Jan 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WorldCraft View Post
Stye Variable 'navbar_popupmenu_link_color'
Thanks but that variable is already black I don't know why I see always white
Reply With Quote
  #4  
Old 01-11-2013, 07:10 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you post a link to your forums?
Reply With Quote
  #5  
Old 01-11-2013, 07:13 AM
Mikhael_ Mikhael_ is offline
 
Join Date: Jan 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WorldCraft View Post
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!
Reply With Quote
  #6  
Old 01-11-2013, 07:35 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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};
}
Reply With Quote
  #7  
Old 01-11-2013, 07:46 AM
Mikhael_ Mikhael_ is offline
 
Join Date: Jan 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
}
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!
Reply With Quote
  #8  
Old 01-11-2013, 03:15 PM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
Replace with: color:
HTML Code:
{vb:stylevar navbar_popupmenu_link_color};
Also you should remove:
HTML Code:
/*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.
Reply With Quote
  #9  
Old 01-11-2013, 03:47 PM
Mikhael_ Mikhael_ is offline
 
Join Date: Jan 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 01-11-2013, 04:57 PM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:25 PM.


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.04230 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (5)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete