Home Forums Support UberMenu Reply To: UberMenu

#200904
Terry

Hi Tom,

UberMenu has an option, if it isn’t displaying correctly, to try testing direct integration. That menu works. See:

UberMenu above header working

(It worked properly with or without the custom CSS I’d added as noted in my first post, so for this test, I’ve removed it. You’ll see the double arrow on the header menu as a result.)

On the UberMenu knowledgebase, they say:

“If the Direct Injection menu is working properly, but your replaced theme location menu is not, this indicates that a wrapper from the theme is the source of the interference.”

They have more info about what they call ‘residual styling’ here:

http://sevenspark.com/docs/ubermenu-3/diagnostics/residual-styling-detection-tool

They have a tool which can generate the PHP code to use to overcome residual styling, but I’m not quite sure where I would need to put it. They say:

“Pick the appropriate code and add to your theme template or content where you want the menu to appear.”

Options are:

PHP: <?php ubermenu( 'main' , array( 'theme_location' => 'primary' ) ); ?>

Shortcode: [ubermenu config_id="main" theme_location="primary"]

So can I add this as a GP Hook after header content? Or does it need to go into functions? Or is there some other workaround that I’m not seeing here?

Many thanks,

Terry