![]() |
Adding dropdown to the top menu
I've been trying to integrate a dropdown to the top menu (the section "Welcome, user Notifications My Profile ... etc). I've added a dropdown successfully to the navbars on my site, but the one I'm trying to add to this section doesn't seem to format properly. The link itself looks ok, but when the submenu expands the spacing on the cells is all out of whack. I'm doing this in my header template, and this is an excerpt (including my latest attempt to get the menu working):
Code:
<div class="above_body"> <!-- closing tag is in template navbar --> Now I'm pretty sure that the ID I specified on the <li> tag is probably part of the problem, but I'm not sure where all of this stuff goes back to and what else I'd have to edit/add to make this work. I tried searching around for information on this but I didn't have any luck. Any recommendations on how I can do this properly? |
I spent about 30 minutes working on this last night and was able to get a dropdown, and it all looked good, but it was out of alignment when it opened. I edited vbulletin css and chrome css as well as the header template.
If anyone has a good solution I would love to see it as well. |
MrMister: How did you get the content of your dropdown to look good? Mine's out of alignment as well as having the dropdown contents look like crap.
|
I copied all of the css for the classes: popupmenu & nonotifications and made my menu point to my new CSS. I did not save it as it did not work 100%.
|
1 Attachment(s)
Here is a simple solution for this:
Find in header template: Code:
<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li> Code:
<li class="popupmenu nonotifications" id="Site_Switcher"> Here is what this produces: https://vborg.vbsupport.ru/attachmen...1&d=1264098487 |
That works perfectly, thanks.
|
All times are GMT. The time now is 10:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|