Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2013, 08:48 PM
Manuel94 Manuel94 is offline
 
Join Date: Jan 2013
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Buttons navbar background (hover), help!

Hi, I apologize for the English!
I have a problem with vbulletin skin. I want to change the color of the hover action button navigation. Let me explain ... When I click as "forum" appears black as the background of the button. If I pass the mouse over "articles" button appears black alike. I would like to change the color of the button when you pass over differentiating it from when it was clicked. I clear? Basically I want this because I did not put the lines to separate the buttons because I do not dislike!
For the background color of the buttons I used a image made with photoshop. For the alternative would do the same, just do not know what code to use!! Thanks to those who help me!
Reply With Quote
  #2  
Old 03-07-2013, 09:01 PM
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Posts: 283
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its in the stylevars variable template you use, bring up that template and go to Navbar and its at the bottom, titled something like "highlighted_hover" or something to that effect, i am brain farting right now lol

Im sure some one else here will know the correct name, but hopefully this gives you a start.
Reply With Quote
  #3  
Old 03-07-2013, 09:49 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please provide a screenshot, and I'll be able to tell you what StyleVar controls it.

It's not clear which part of the navigation bar you're talking about.
Reply With Quote
  #4  
Old 03-07-2013, 10:31 PM
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Posts: 283
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are looking for the Tabs stylevar then look here: navbar_tab_selected_background

And if you are looking for Navbar Links then look here: navbar_linkhover_color
Reply With Quote
  #5  
Old 03-07-2013, 10:35 PM
Manuel94 Manuel94 is offline
 
Join Date: Jan 2013
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, pardon for having responded to me, to you both!
Then this is the screen: http://i50.tinypic.com/34njnn6.png
I hope you understand ...
PS: The base skin is a site purevb.com so there is what I have said in stylevar. Thank you very much.

--------------- Added [DATE]1362699473[/DATE] at [TIME]1362699473[/TIME] ---------------

Quote:
Originally Posted by Ba'al View Post
If you are looking for the Tabs stylevar then look here: navbar_tab_selected_background

And if you are looking for Navbar Links then look here: navbar_linkhover_color
Yes, on navbar_tab_selected_background there is already an image for the button, but I do want two. I have already explained above how. I do not know if you understand me ... Unfortunately I do not speak English well.
Reply With Quote
  #6  
Old 03-07-2013, 10:55 PM
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Posts: 283
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manuel94 View Post
Hello, pardon for having responded to me, to you both!
Then this is the screen: http://i50.tinypic.com/34njnn6.png
I hope you understand ...
PS: The base skin is a site purevb.com so there is what I have said in stylevar. Thank you very much.

--------------- Added [DATE]1362699473[/DATE] at [TIME]1362699473[/TIME] ---------------



Yes, on navbar_tab_selected_background there is already an image for the button, but I do want two. I have already explained above how. I do not know if you understand me ... Unfortunately I do not speak English well.
Make sure you have the image you want uploaded to your server and replace the one thats in there, it should look something like this:url(images/misc/newimage.jpg)
Reply With Quote
  #7  
Old 03-08-2013, 01:15 AM
Manuel94 Manuel94 is offline
 
Join Date: Jan 2013
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not the problem! I want to change color when you put your mouse over the other button. I want to be black forum and when I put mouse over red background market, for example. Got it?

Google translate:
Non è quello il problema! Io voglio cambiare colore quando metto il mouse sopra l'altro bottone. Voglio che sia nero forum e quando metto mouse sopra mercatino background rosso, per esempio. Capito?
Reply With Quote
  #8  
Old 03-08-2013, 05:32 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manuel94 View Post
Hello, pardon for having responded to me, to you both!
Then this is the screen: http://i50.tinypic.com/34njnn6.png
I hope you understand ...
PS: The base skin is a site purevb.com so there is what I have said in stylevar. Thank you very much.

--------------- Added [DATE]1362699473[/DATE] at [TIME]1362699473[/TIME] ---------------



Yes, on navbar_tab_selected_background there is already an image for the button, but I do want two. I have already explained above how. I do not know if you understand me ... Unfortunately I do not speak English well.
Do you want the background-color or background image of the button to change when you pass the mouse over it? If that is what you want you can not do it with css (as far as I know), you will need to have a JavaScript program to do it.
Reply With Quote
  #9  
Old 03-08-2013, 01:09 PM
Manuel94 Manuel94 is offline
 
Join Date: Jan 2013
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want the image of color around the writing. I do not think javascript is also still only works because already I want to change things as I wrote above.
Reply With Quote
  #10  
Old 03-08-2013, 03:28 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wrong about needing JavaScript. I thought you would need to change the styling for the <li> but you only need to change styling for the <a>. But I can not find the right css for changing the <a> styling.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:43 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.03972 seconds
  • Memory Usage 2,242KB
  • 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_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