Okay
  Public Ticket #3570233
Links in menu for blog page
Closed

Comments

  •  1
    vojtechuhlir started the conversation

    I use salient template with Band demo.

    For default home page, menu works well. I specify menu item links with anchor likeĀ #info. When I click on the menu, it scrolls to the position with defined anchor using URL site.cz/#kurzy.


    But if I go to a blog post page or a category page with URLs like

    site.cz/2024/01/23/lektori-kurzu/

    or

    site.cz/category/kurzy/


    then the manu does not work because if I click on the button, it again just adds the anchor which is of course invalid:

    site.cz/2024/01/23/lektori-kurzu/#kurzy

    or

    site.cz/category/kurzy/#kurzy

    How do I specify different behavior of the same menu on posts and category pages?

    Thank you

  •  3,001
    Andrew replied

    Hi there,

    Thank you for reaching out to us.

    You need to add the full URL before the anchor links for this to work well for links outside your homepage. You can see more on this in our guide hereĀ https://themenectar.ticksy.com//article/6266/.

    As for your links, you can set how your links appear on your site by navigating to wp-admin > Settings > Permalinks and changing the permalink structure to Post name.

    5876046202.png

    Try this and let us know how it goes.

    Kind regards,

  •  1
    vojtechuhlir replied

    Och yes. Full URL works. Thank you. I thought with full URL it will do the transition effect on the main page but it does not. Great. Thanks!