Shane Scanlan
asked 8 years ago

The main menu is fine on the small screen, but there is no top menu.  My site is http://www.cbdnews.com.au

3 Answers
DominicStaff
answered 8 years ago

At the moment, DW Focus does not support style as main menu. However, if you display on the small screen, you can Open file header.php in your site > wp-content > themes > your themes > header.php
2. Add following code below line 22 

 <div class="row">
<div class="top-nav span12">
<?php
$params = array(
'theme_location' => 'topmenu',
'container' => '',
'menu_class' => 'nav nav-pills',
'fallback_cb' => 'link_to_menu_editor'
);
?>
<?php wp_nav_menu($params) ?>
</div>
</div>

Hope this helps !

Shane Scanlan
replied 8 years ago

Hi Dominic
Thanks for taking the time to look into this. The addition of this code does indeed display the menu on a mobile device. But it also has the effect of duplicating the menu when the site is displayed on a desktop browser. Is there another way that does not compromise the desktop view?
Shane

Dominic Staff
replied 8 years ago

You can send me username & password of your site (via private answer), we will help you resolve it.

DominicStaff
answered 8 years ago

Right now, you can check your site. I have helped you display the Top menu on the small screen.

DominicStaff
answered 8 years ago

Done ! You can check your site.

Powered by DW Question & Answer Pro