• Resolved stevenwb1

    (@stevenwb1)


    I added menu images using the “Menu Image” plugin and the mobile menus no longer function. They go back to functioning when I deactivate the plugin. I really want to use images in the menus since it really adds to the appearance of my site. Is there any code that I could add that would allow the images to remain and still have the mobile menus work?

    If there is a way to specify different menus for the mobile menus, that would be great too since I could just just make copies of the menus and not attach images.

    This theme is fantastic and I would try anything at this point. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Richie KS

    (@rkcorp)

    not sure, the theme did not tested with this plugin but try open header.php and go to line 136 and edit
    <?php if( has_nav_menu(‘primary’) ):
    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘container’ => false, ‘menu_class’ => ‘sf-menu’, ‘fallback_cb’ => ”,’walker’ => new Custom_Description_Walker ));

    edit new Custom_Description_Walker to ” only.

    the theme auto use dropdown when in mobile mode so pretty sure it cannot use the ‘menu image’ in drops.

    Thread Starter stevenwb1

    (@stevenwb1)

    Richie, I tried what you recommended but that didn’t solve my menu issue. I replaced new Custom_Description_Walker with ”.

    I was able to add images using a css hack that i found online and the mobile menu did still work. I know the problem is probably a compatibility issue between the “Menu Image” plugin and the mobile menu, but that plugin is no longer supported. Unfortunately, that plugin is the best way to get images easily and painlessly added to menu items. It resizes the images and formats everything automatically, which is not done with any of the other menu image plugins.

    Do you know of any code that I could use to remove or overlook any images when the menu is being created?

    Thanks again Richie!!!

    Thread Starter stevenwb1

    (@stevenwb1)

    I decided to remove the menu images since the plugin really hosed Google’s interpretation of the menu item names by adding the menu image name to the menu item name.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The "Menu Image" plugin broke the mobile menus’ is closed to new replies.