Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1372081
    Eric
    Participant

    Hi Guys!

    I have the one page menu set up on our home page which works great and there a couple of secondary pages with a main menu using the full url. The menu takes you back to the main page but does not scroll down to the #x-content-band -1, 2, 3, etc..

    Is there something I am missing?

    https://simplelogicweb.com/competitive-analysis/

    Thanks!

    #1372320
    Jade
    Moderator

    Hi there,

    There seems to be an issue with the SSL of your site.

    Kindly sort it out as this might be causing it.

    Let us know how it goes.

    #1372791
    Eric
    Participant

    I’m in the process of renewing the SSL. That’s not causing the issue.

    #1373143
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! When setting up a one page navigation menu, you will need two sets of menu. One menu will be for the primary menu and the second one is exclusively for the one page menu. In your one page nav menu, you can have #x-content-band-{IDs}. On the other hand, you have to have the full url of the content in your primary menu such as http://example.com/#x-content-band-{IDs} so that when you are in single post or other page, you will still be linked to the correct content band as you click on the menu link.

    Hope this make sense.

    #1373602
    Eric
    Participant

    Rue Nel,

    Did you read what I said in my original post?

    I have the one page menu set up on our home page which works great and there a couple of secondary pages with a main menu using the full url. The menu takes you back to the main page but does not scroll down to the #x-content-band -1, 2, 3, etc..

    #1373855
    Joao
    Moderator

    Hi Eric,

    Would you mind trying to add an ID name for each section instead for example ID: my-section-1 and linking to #my-section-1 instead of #x-content-band-1 ?

    Let us know how it goes,

    Joao

    #1374224
    Eric
    Participant

    Hi Joao,

    Thanks for your reply. Would you mind telling me where to add an ID name? I can’t open the home page in visual composer as it messes up the page and I have to use short codes to create this page.

    Here is a content block from this page. Where/ how would I add the ID.

    [content_band no_margin=”true” bg_color=”#db6925″ border=”all” inner_container=”true” padding_top=”25px” padding_bottom=”45px”]
    [custom_headline type=”center” style=”color:#ffffff” level=”h1″ looks_like=”h2″ accent=”true”][icon type=”phone”] Seen Enough? Get in Touch.[/custom_headline]
    <div class=”get_in_touch_container”>
    [gravityform id=”1″ title=”false” description=”false”]
    <p style=”color: #ffffff;”>* We promise, No spam.</p>
    </div>
    [/content_band]

    Thanks again for your help!

    #1374635
    Rue Nel
    Moderator

    Hello Eric,

    Thanks for updating in! After carefully investigating your menu, it is not working because you have inserted invalid anchor links. You have inserted this: http://simplelogicweb.com/#x-content_band-1 which in fact you should need to insert this: http://simplelogicweb.com/#x-content-band-1

    kindly edit your menu and make sure to correct the anchor links. It needs to be http://simplelogicweb.com/#x-content-band-{#}

    Please let us know how it goes.

    #1374977
    Eric
    Participant

    It’s always the smallest things!

    I changed them. Thank you!

    The only one that doesn’t work is the ABOUT link, it stays on the same page, but scrolls to the first content band. All the others work. I doubled checked the URL and it is right. https://simplelogicweb.com/competitive-analysis/

    #1375306
    Joao
    Moderator

    Hi There,

    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

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

    Thanks

    #1383450
    Eric
    Participant
    This reply has been marked as private.
    #1383920
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the information. Regretfully it seems that the given credentials is not working for us. Meanwhile, please edit your menu and make sure you have https://simplelogicweb.com/#x-content-band-1 as your link. Currently you just have this: http://simplelogicweb.com/#x-content-band-1. Having http where you are using https is a big difference.

    Hope this helps.

    #1399749
    Eric
    Participant
    This reply has been marked as private.
    #1400123
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in and for providing the information. I have fix the issue by adding this JS code in the customizer;

    jQuery(function($){
      $('body:not(.home) .x-navbar .x-nav a').on('click', function(){
        window.location = $(this).attr('href');
      });
    });

    Please check the page in question now.

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