Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1181232
    bitemark_aust
    Participant

    Hi there – great theme and I love using it 🙂

    My development site is http://dev.i4bright.com

    I’ve got a one-page design for my home page, but I also want my main menu to include a link to a different page for blog posts. Each one-page section menu link uses #name format and the separate page link uses http://dev.i4bright.com/link-here.

    This menu works fine on the home page but when I use it on my blog page http://dev.i4bright.com/bright-thoughts it obviously doesn’t work due to the use of the #name links.

    A different menu for pages that aren’t my home page would work, but this theme doesn’t support that. I saw one of the other threads where a plugin was recommended (https://wordpress.org/plugins/menu-swapper/) but this hasn’t been updated for months and doesn’t appear to be compatible with 4.6.1.

    A different thread uses javascript to strip the url from the menu links so that one page design works, but I don’t think that this is maintainable.

    Is there a solution for this problem? I’d really like to just select another menu – are there are any plugins that you recommend?

    Thanks, Mark

    #1181286
    Paul R
    Moderator

    Hi MArk,

    Thanks for writing in!

    You need to create two menus.

    One for your homepage(onepage menu) and one for your other pages(default menu).

    Your one page menu should have links with ids only

    eg. #clients

    Just like what you have now in your homepage, your other menu should have absolute urls.

    eg. http://dev.i4bright.com/#clients

    It is also advisable to add unique ids to your sections instead of using the default section ids.

    https://community.theme.co/kb/how-to-setup-one-page-navigation/

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1181232 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>