• Resolved 1-jah

    (@1-jah)


    Ok…so fingers crossed you can give me a quick answer….for some reason I have 2 menus showing in my client’s site. Please go take a look and let me know what’s the isssue here. I can fix it in firebug, but have no clue where the source code is.

    Thanks

    Client’s Site

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter 1-jah

    (@1-jah)

    Oh yea, and might I add that the menu is displaying in mobile as well on top of the mobile menu….

    The top menu is the list of pages that the update has put in. The custom menus that we make are being placed below. To get around this I have deleted my custom menu, but as the menu is alphabetical I used a plugin to remove the pages I didn’t want to show. Not happy with this but will do for now until it is sorted.

    If you are happy with the menu at the top you could just remove your custom menu.

    You haven’t mentioned the 4 widget areas showing at the bottom of the page. There are no widgets in them, this once again is a part of the update and obviously an error.

    You can drop blank text widgets in to the 4 bottom widget areas, and that just gives a bar, but better than the rubbish that is there now.

    You may know code to get rid of this, and I would be grateful if you can do it as I’m not into that side of things very well.

    Thread Starter 1-jah

    (@1-jah)

    Just Ard,

    I am aware of the widgets at the bottom and getting around those, but thanks for the input.

    I am still currently working on the menu issue as we speak. It’s likely a php thing but I’m still yet an amateur. I do well, but not that well. Though with your insight and suggestion how to get arond the menu I think you just gave me an idea.

    I’ll keep you posted.

    Thread Starter 1-jah

    (@1-jah)

    Ok….I got it.

    Go into you hosting and navigate to wp-content/themes/flat-responsive/flat-responsive/templates/template_functions.php

    Go to line 123 and you’ll see this:

    <div class="flat_responsive_menus">
                <div class="flat_responsive_menu"><!--Primary Navigation Starts Here -->
                    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'navmenu', 'fallback_cb' => wp_page_menu( array('menu_class' => 'navmenu'))) ); ?>
                </div>

    Change it to:

    <div class="flat_responsive_menus">
                <div class="flat_responsive_menu"><!--Primary Navigation Starts Here -->
                    <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'navmenu', 'fallback_cb' => false ) ); ?>
                </div>

    Then you can use your custom menu again. All we did was take the fallback_cb to false. And on mobile you have only the mobile menu again.

    Thanks for the idea. Let me know if you got this taken care of so I can mark it resolved.

    Thread Starter 1-jah

    (@1-jah)

    By the way, please add this to your child theme’s function php so it does not get lost in updates.

    Thank you 1-jah you are a gem. It works a treat. Found it on line 245 though not 123.

    Any ideas on the bottom 4 widget areas showing up, as they are showing the Lorem Ipsum on your site.

    Theme Author Styled Themes

    (@gejay)

    Hi there,

    We have fixed this issue in our latest version, so please update your theme.

    Thanks

    Thread Starter 1-jah

    (@1-jah)

    Not a problem Just Ard. I’m not really too concerned with the four footer areas. And as you have already said so yourself, just put a blank text widget in the bottom anywhere and they’re gone. But if you just want the whole section hidden you could use css.

    .fr_widgets_bottom_widget {
        display: none;
    }

    After this I’m going to mark this topic resolved.

    @styledthemes, great theme, but I think I’ll hold off on the updating until you get all bugs out. Keep up the good work.

    Thread Starter 1-jah

    (@1-jah)

    Hope this thread has helped others in what they are looking to accomplish.

    Theme Author Styled Themes

    (@gejay)

    Hi there,

    Please follow the following steps to fix your issue;
    Go to Dashboard=> Appearance=> Customize=> Basic Setting=> Default Content Setting=> And click in the Hide default content from theme=> And save it.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Duplicate Menus’ is closed to new replies.