Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article

Okay
  Public Ticket #1728780
Menu link to target
Closed

Comments

  • hotspotmarketing started the conversation

    I've only got one item in the main menu on the site http://bogartscat.co.uk - Contact - which should scroll down to the bottom of the page and the last section has the ID contact however it's doesn't do that.

    If you visit the URL http://bogartscat.co.uk/#contact is does go there which shows the target is there - but for some reason it's not doing it from the menu?

  •  361
    Filip replied

    Hello there,

    For a starter, please edit your page and in the Page Settings metabox, enable the "One Pager" mode. That should add a smooth "scroll" effect to your site navigation element.

    Kind Regards,
    Veented Team

  • hotspotmarketing replied

     "One Pager" mode already enabled on this page.

  •  361
    Filip replied

    That is super strange then? Can you please share your WP credentials so I can debug it for you? 

    Meanwhile, please try changing your link target in Appearance / Menus to:

    http://frontpage_url/#home

    Kind Regards,
    Veented Team

  •   hotspotmarketing replied privately
  •  361
    Filip replied

    Hi there!

    Thank you so much. Well, I found the source of the problem. Looks like the One Pager script gets confused when there is only one menu item. Our extreme case during tests was 2 items (we figured that one will definitely need an item to get back to the top, like "Home") and it worked just fine. I just added an extra "Home" element to your site navigation that is connected with the very first section on your homepage and it works perfectly fine right now. This configuration is also recommended for SEO so I'd leave it like that. You may always hide the Home element from your nav with a custom CSS:

    #menu-item-355 {
        display: none;
    }
    

    Kind Regards,
    Veented Team

  • hotspotmarketing replied

    Thanks so much for sorting this - and your advice. Great theme!

  •  361
    Filip replied

    You're very welcome!

    Kind Regards,
    Veented Team