PDA

View Full Version : Swapping Nabtab out for mega menu ... help!


StonePilot
04-29-2014, 08:29 PM
I want to test out a mega menu and have created one using the CSS3 Menu builder and it works properly when I totally bypass the navbar code in vb 4.2.

However, I want to simply replace the current NAVTAB with this CSS menu, and no matter what I do, the new menu bar is pushed down outside of the navtab class/style call, instead of inside it.

This is the code in question, from the default "navbar" template ...

<div id="navbar" class="navbar">
<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
{vb:raw template_hook.navtab_start}
{vb:raw navigation}{vb:raw CSS_Menu}
{vb:raw template_hook.navtab_end}
</ul>

.......
</div>

When I replace the "navtab" template with the new css menu and keep everything else the same I get this ...

https://vborg.vbsupport.ru/attachment.php?attachmentid=148973&stc=1&d=1398815880

...

But when I take out the class call in the initial <ul> then I get this ...

https://vborg.vbsupport.ru/attachment.php?attachmentid=148974&stc=1&d=1398815880

...

So thoughts? I've tried renaming the <ul> to be a <div> ... I'm just not familiar with how the vb style works to get this done. If I have to then I'll just remove everything, but then I have to figure out how to get the search box back in there, and like I said I'm just not good at this stuff and if it's going to be a pain then I'll either give up or hire someone to patch it together ...

tbworld
04-29-2014, 09:03 PM
if it's going to be a pain then I'll either give up and switch to xenforo

You are trying to do some custom coding and you do not know how, of course it is going to be a pain! :)

I do certainly see that you are trying, but we have no idea what code you are adding or exactly where (although I do have a rough idea). Most of us will assist you if you make it easy for us, but this is not a free coding service and you should not expect it to be. Put something together in a form that we do not have to recreate your experiment. Read, edit your post and fill in the blanks and I will see what I can do.

Remember when you are asking for help, you are asking volunteer enthusiasts of vBulletin.org, threatening to leave to xenforo is probably not the best way to warm our hearts or to receive help.

What version of vBulletin?
Board Link?

Give it another whirl and let's see what we can do. :)

StonePilot
04-29-2014, 09:47 PM
I suspect that someone who knows how to do this can help me out in 10 minutes of work.

Sorry, this was a cut-and-paste job that I had sent to someone else, they are big xenforo advocates so putting that in there was meant for them and I forgot to take it our here.

edit:

- Site is vb 4.2.2.
- If anyone knows how to do this, then PM me and I'll send the link.
- Using the stock vbulletin 4.2.2 style with just colors changed and typical template changes for things like ads, etc.
- I created a css3 menu "mega menu" and I really like the way that it works. However, it's not going to be perfect. :-(
- The problem comes in understanding how to make the navtabs class spit out the new css menu without moving it down ...

--------------- Added 1398815826 at 1398815826 ---------------

Sorry, I also realized that I was hotlinking to those photos. Let me upload them again.

ForceHSS
04-29-2014, 10:02 PM
if you are wanting to pay someone then you need to post in the right forum

StonePilot
04-29-2014, 10:09 PM
if you are wanting to pay someone then you need to post in the right forum

ugh, for crying out loud. This is going on a 2-million+ post forum with 80,000+ members, so of course I'm willing to pay someone.

--------------- Added 1398817453 at 1398817453 ---------------

Sorry, please forgive me being rude. It's just frustrating as if I wanted to spend maybe 6 hours working on this I could figure out how to adjust the template. I'm also shocked that more people haven't asked for this type of help in the past.

ForceHSS
04-29-2014, 10:41 PM
I can understand you are frustrated but once you talked about paying then it needs posted in the correct section I was only pointing this out

StonePilot
04-30-2014, 02:23 PM
I can fix this myself if someone can just tell me what to swap out.

--------------- Added 1398895613 at 1398895613 ---------------

It's all just manipulation of the css files for navtab, I was able to get this to work.

tbworld
04-30-2014, 10:27 PM
I haven't forgotten about you, just have not had the time to look at it yet.

StonePilot
04-30-2014, 11:05 PM
I can get it to work ... Just not when keeping the narbar links.

Zachery
04-30-2014, 11:49 PM
A live example of your site would be helpful, or the code.

StonePilot
05-02-2014, 03:37 PM
Look at the Toyota site in my signature. This is not a vB site, but that's my goal using vb 4.2.2.

I'll take anyone's suggestion on how to do this.

Zachery
05-02-2014, 04:18 PM
We need to see this is working/failing action on your site where you're trying to use this with vBulletin.

webmastersun
03-03-2015, 10:19 AM
However, I want to simply replace the current NAVTAB with this CSS menu, and no matter what I do, the new menu bar is pushed down outside of the navtab class/style call, instead of inside it...


I don't know how you did but I integrated mega menu on our marketing forum without any problems.

Also, I saw your forum, it now is running on xenforo, not vB.