vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Navbar menus (https://vborg.vbsupport.ru/showthread.php?t=188547)

051119 08-19-2008 11:37 AM

Navbar menus
 
I'm trying to edit the colours of the menus that appear when you click on Quick Links & Search in the Navbar.

Obviously this would normally be done through editing the vbmenu_xxx through the Style options, but this edits the colours for *all* the menus, rather than just the Navbar which I want. I've already edited the Navbar colour - that was easy, but I'd rather like to edit the menu colours to match.

I'm guessing create some new CSS classes in the large text boxes at the bottom of the style, but what do I edit to link the two together?

Thanks

Attitude5ire 08-19-2008 01:24 PM

Yep you are right bout 2 main edits.

1st add custom css class style like
.vbmenu_mycolors {

}
add all changes or color variants you want..

then just goto navbat template and look for the
Quick links and Search container. and replace vbmenu_control with ur custom class.

051119 08-19-2008 04:38 PM

1 Attachment(s)
Thanks for your reply.

I've changed the navbar background but I'm not sure what code to use for the menu itself.

See the attachment, I want to change the colours of the bits that are still in default blue.

Attitude5ire 08-19-2008 05:25 PM

Alright thats .thead class for sub-menu headings and alt1 class for menu blocks.
you need to add 2 more classes.. for to replace .thead and other to replace .alt1

Once added just replace in navbar template.

051119 08-19-2008 05:52 PM

I don't understand where I edit the Navbar template to reflect the new CSS classes I have created.


All times are GMT. The time now is 04:45 AM.

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.00930 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete