Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #126365

    Rubin
    Keymaster

    Glad to hear! Let us know if you need anything else.

    #256408

    JamieRufe
    Participant

    Hi,

    I tried pasting the same code, but for some reason, my navbar list is now stacked right next to my logo and has a strange font and color?

    Any ideas what might be wrong with the code?

    http://warpspeedchinese.com/blog/

    #256411

    Rad
    Moderator

    Hi Jamie,

    This thread is old and the code requirement is now different. I’d like to check your current current implementation to see what else needs fixing.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #256417

    JamieRufe
    Participant
    This reply has been marked as private.
    #256436

    Rue Nel
    Moderator

    Hello There,

    It seems that you are using a 3rd party plugin that will swap navigation menu. Upon swapping the menu, it looses al the menu styling and that is why you are seeing a stacked menu items.

    We can not provide any support for this plugin. Please tell us what you were trying to do and maybe we can provide you with some alternative in X theme.

    Kindly let us know.

    #256448

    JamieRufe
    Participant

    Hi,

    I saw in this thread that you recommended that plug-in if you wanted custom menus on different pages.

    In any case, I would like to use a custom menu list for my blog page: Home, About and Referrals.

    If there is an alternative way to do this, please let me know.

    #256453

    Rue Nel
    Moderator

    Hello There,

    Please try the One Page Navigation setting we have. To do it, please try to edit your page and in your Page Settings, enable the One Page Navigation by selecting a different menu. Please see the screenshot http://prntscr.com/6x51vg

    Hope this helps. Kindly let us know.

    #256471

    JamieRufe
    Participant

    Hi,

    Unfortunately, it didn’t work.

    I should clarify, I’m using one-page navigation on my homepage, so the navbar list items navigate to certain parts of the homepage.

    As you can imagine, this makes these most of these list items useless on the blog page.

    I’m currently using the Renew 02 stack, which utilizes one-page navigatio on the homepage. How do most people who use this stack deal with their blog navigation bar list?

    #256474

    Rue Nel
    Moderator

    Hello There,

    Please consider deactivating your 3rd party plugin before trying out what have suggested above.

    Most people use the Primary for the entire site and edit their homepage and assign another menu for the one page navigation on the homepage. Try switching the other way around to accomplish what you have in mind.

    Please let us know how it goes.

    #256477

    JamieRufe
    Participant

    Ok, I got it to work! Thank you for your help and patience!

    #256480

    Rue Nel
    Moderator

    Hi There,

    We are glad we were able to help you to resolve your issue.

    Cheers,
    X

    #304838

    Omri B
    Participant

    Hi, I placed the code you gave before into x-child-integrity-light/framework/views/global/ on a new _navbar.php file as you suggested before in order to have different menu on the blog page and posts

    Unfortunately it appears I have the same issue as Jamieruf above. Worse, I get the footer menu instead of the navbar menu 🙂

    What do you think I should do?

    http://www.01islands.com/blog

    Thanks and great theme guys. Love it.

    #304860

    Omri B
    Participant
    This reply has been marked as private.
    #305181

    Zeshan
    Member

    Hi Omri,

    Thanks for writing in! And thanks for your kind words! 🙂

    Instead of the previous provided solutions, please add following code in your child theme’s functions.php file:

    // =============================================================================
    // Sets Custom Menu For WooCommerce Shop 
    // =============================================================================
    
    add_filter( 'wp_nav_menu_args', 'custom_blog_menu' );
    
    function custom_blog_menu( $args ) {
      if ( is_page( array( 1, 2, 3, 4, 5 ) ) ) {
        $args['theme_location'] = 'primary';
        $args['menu'] = 'Custom Menu';
      }
      return $args;
    }
    

    Replace 1, 2, 3, 4, 5 with your pages IDs, separate each ID with a comma. Then replace Custom Menu with your custom menu name.

    Hope this helps. 🙂

    Thank you.

    #682914

    Tim B
    Participant

    I’ve implemented the code above to display an alternate menu on the blog page.

    How do I get that same alternate menu to appear on the Archive, Category, and Single Post pages?