The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
modify navbar dropdowns?
Here is my navbar template.... I can't seem to find the area the pertains to the styling that the community, forum actions, quicklink uses. I wanna change it to use the tools menu stylevars (or find which style var changes it currently, b/c my popupmenu changes do not do anything)
Thanks! PHP Code:
|
#2
|
||||
|
||||
If I use my browser 'find' option and enter in "community" or "action" or "quick", I can find the dropdown for any of those items. Try it.
|
#3
|
|||
|
|||
I can't figure out which one changes the style var that determines the dropdown's set up though..
Is it the li class? the ul class? the vb: raw template_hook.navbar..... That is what I am unsure on |
#4
|
||||
|
||||
I don't understand what you mean. If we look at "community", you find this - the stuff in red is the dropdown link you click and all the <li> under it (that I didn't quote) are the links in the dropdown:
Code:
<vb:if condition="$show['communitylink']"> <li class="popupmenu"> <a href="javascript://" class="popupctrl" accesskey="6">{vb:rawphrase community}</a> |
#5
|
|||
|
|||
Yes I see... Is the <li class="popupmenu"> the part that determines the style var it uses?
|
#6
|
||||
|
||||
I'm not sure what you mean. That is just the class. Sometimes the class name is used in the stylevar name also if they are related.
|
#7
|
|||
|
|||
I'm trying to find out the style var that is used to modify those menu's dropdown style. So I can either change the style or modify it to use the tool's menu dropdown style
|
#8
|
|||
|
|||
Anyone?
|
#9
|
||||
|
||||
You can easily find these in firebug. How To: Find the correct StyleVar/LayoutVar to edit Have you tried that?
|
#10
|
|||
|
|||
I got it now thank you very much lynne! Very helpful forum here (way more than vbulletin.com)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|