Support ForumHow to create anchor link in menu to an element on the same page – Support Forum https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/feed/ Thu, 09 May 2024 02:20:39 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4685 <![CDATA[How to create anchor link in menu to an element on the same page]]> https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4685 Thu, 18 Sep 2014 01:05:40 +0000 IshYoBoy I want to have submenu items, but have those links scroll to different parts of the same page instead of going to a new page. The same way you have your Features menu act in your demo. I can’t figure out how to do it!

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4694 <![CDATA[Reply To: How to create anchor link in menu to an element on the same page]]> https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4694 Thu, 18 Sep 2014 10:24:33 +0000 IshYoBoy Hey,

You need to use “anchor links”.

1. First you need to set the “ID” of any page element. On our features page we have used the “Rows”. When you edit their settings on the bottom of the pop-up window you need to enable the Advanced attributes and set the “ID” field to any word that identifies it. E.g. “about-me”

2. secondly you need to make a custom link inside your menu under “Appearance -> Menus” and set the url of the link to the exact permalink of the page it links to and then add the hash sign and the id to it (“#about-me”). So if we assume the permalink of the page where the “abut-me” id is used is:

Features

Then set the url to:

Features

Please note you must use the exact permalink not just the hash value.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4698 <![CDATA[Reply To: How to create anchor link in menu to an element on the same page]]> https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4698 Thu, 18 Sep 2014 13:56:45 +0000 IshYoBoy Thanks a lot, that worked! But that means that when I move my site from staging site to live site, I’ll have to change the permalinks, right?

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4705 <![CDATA[Reply To: How to create anchor link in menu to an element on the same page]]> https://support.ishyoboy.com/forums/topic/how-to-create-anchor-link-in-menu-to-an-element-on-the-same-page/#post-4705 Thu, 18 Sep 2014 18:48:21 +0000 IshYoBoy Yes,

This is right :(

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>