Mega Menu Location Continued
Support Area › Forums › Responsive Visual › Mega Menu Location Continued
- This topic has 13 replies, 2 voices, and was last updated 9 years, 5 months ago by Bill Robbins.
-
AuthorPosts
-
October 20, 2014 at 20:50 #23393Steven BillParticipant
Hi Bill – I’ve been out for a week or so. Just had our 3rd child!
If you’ll look at the Mega Menu Location thread, you’ll be able to pick up where we left off. I have done as you said and replaced the existing <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘container’ => ‘nav’ ) ); ?> with <?php ubermenu( ‘main’ , array( ‘theme_location’ => ‘primary’ ) ); ?> but to no avail.
Also, I went into the UberMenu options under Appearance and clicked on Direct Injection Testing to see what the menu should look like. So it’s appended at the top now but it does show that the menu can be customized. However, what I have in the actual menu location is not being customized – so I know it’s still not working.
If you are able and willing, could you sign in and see what I may have messed up on?
Please advise,
Steve
October 21, 2014 at 08:45 #23399Bill RobbinsModeratorHey Steve,
Congratulations on the third child. We had three boys in three years, three months, and three days. Lots and lots of fun 🙂
If the Uber menu folks are asking you to replace the navigation menu call in the theme with their own function, that should be the code to replace.
It seems like you’re using a child theme. Are you placing this in it or the parent?
Bill
October 21, 2014 at 08:58 #23400Steven BillParticipantHi Bill! 3 kids in 3 yrs. wow. That is ambitious. Good on you!
I believe I’m placing it in the child theme. Which is what supposed to do yes? I copied the include folder into child theme and just edited the menu.php file. Is that not ok?
October 21, 2014 at 09:02 #23401Bill RobbinsModeratorIt took years to finally have our first child. We never dreamed it would happen again so quickly. They are 9, 7 and 5 now and it’s been a blast. One of the best parts of my business is that I get to be with them a lot because of working from home.
That does sound like the correct place. If you want to post a private reply with your URL and login information I can take a look for you and see if I spot anything.
October 21, 2014 at 19:04 #23426Steven BillParticipantThis reply has been marked as private.October 21, 2014 at 19:35 #23427Bill RobbinsModeratorSteven,
I verified that the menu is being output in the child theme vs the parent. That’s where it’s loading so you’re good there.
I also disabled the styles for the theme’s navigation menu in the parent theme so they wouldn’t conflict with anything that Uber is doing.
Uber has a mountain of settings doesn’t it?
Bill
October 21, 2014 at 20:36 #23428Steven BillParticipantYeah they seem to – but it’s strange b/cu I can get the menu to show up at the top of the page in that Injection Testing thing, just not in the theme itself. I’m definitely open to suggestions here.
Thanks,
SteveOctober 21, 2014 at 20:54 #23430Bill RobbinsModeratorI think I must be missing something here. When I look at your site, I see the uber menu twice, once at the top and once win the navigation bar.
October 21, 2014 at 21:09 #23432Steven BillParticipantThat’s right. If you look under the ubermenu settings, you can enable that Injection Testing thing and it basically places the menu at the top of your page – showing you what it would look like if the theme didn’t interfere. So by having it enabled, I know it isn’t working properly in the theme itself.
October 21, 2014 at 21:24 #23433Bill RobbinsModeratorI turned off the injection and that left just the menu where I’d expect it to be. I’ve attached two screenshots, one with injection on, and one with it off. Are you expecting something different?
Attachments:
October 22, 2014 at 09:14 #23439Steven BillParticipantYeah that’s not the issue – I was intentionally putting that top menu up there to see the difference. On mine, it showed it as being formatted. A mouse over the FB icon turned it blue, green with Twitter mouse over, the submenu was white, etc. Whereas the same menu in the template didn’t format properly at all. However, I see now that the menu in the template does seem to be correct. I’ll have to fool around with the formatting to see if it “sticks” and I’ll let you know.
So you didn’t do anything else except remove the Injection one?
October 22, 2014 at 09:41 #23440Bill RobbinsModeratorI did remove the theme’s styling for the menu too so that should help take care of any conflicts.
Bill
October 22, 2014 at 10:38 #23441Steven BillParticipantHi Bill – I see it sort of works. But for instance the mouse over on the FB is still green. Know why that might be?
October 22, 2014 at 16:09 #23442Bill RobbinsModeratorI think the background is coming from the color that’s set for the navigation menu in the custom styling of the theme. Try adding this to the Custom CSS or at the bottom of your child theme’s style.css file and see if it will override that color for you:
body #nav-bar li a:hover { background: none; } i.ubermenu-icon.fa-facebook-square, i.ubermenu-icon.fa-twitter-square { position: relative; top: 10px; }
Let me know how that turns out.
Take care,
Bill -
AuthorPosts
- The topic ‘Mega Menu Location Continued’ is closed to new replies.