Linking to page sections

Hi, 
I'm trying to link to specific page sections within a multiple page site, which would include links from a menu and links from other pages within the site.

For example, from the About Us menu I have sub-menu options that can be found within the about us page that I would like the menu item to link straight to,

Any help would be much appreciated

Comments

  • This is what you need to do:

    1. Go to menus and create a new menu - http://prnt.sc/f2v9he
    2. Name the menu and add a custom link with the ID anchor you will use later(do not use spaces). Add to menu -http://prnt.sc/f2v9th
    3. When the menu item is added to the menu, save and go to Manage Locations -http://prnt.sc/f2vafb
    4. You go to your main page, you see the new link but when you click nothing happens? No worries, it is because the link has to know where to scroll, to do this edit the page. -http://prnt.sc/f2vc36
    5. Edit the section to which you want the button to scroll -http://prnt.sc/f2vcho
    6. In the field Custom ID type in the id from the button, in my case, it was id=work, no hashtag there -http://prnt.sc/f2vgaz
    7. Remember to have the one-page option selected under the muffinbuiler -http://prnt.sc/f2vcm7

    If you do not want to use a normal menu to link the user to sections, you need to add a 'scroll' class to the custom link elemment.
  • Thank you Brian for your instructions.

    I've implemented the steps that you outlined and the inter-page navigation works great, as you can see here: http://odourobservatory.org/about-us/

    However, because the (1) What is the Odour Observatory and (2) What is D-Noses are sub-menus under About Us, when clicking on these from any other page, for example from the Home page, does not take you to the relevant page section within the About Us page and the menu links are effectively in active.

    Is there a way to apply the same within page section navigation from other pages within the site?
  • Yes, it's possible.
    Provide full URL to this element.

    It will redirect you to /aboutus first, then it will scroll to the #contact section.
    Thanks
  • Fantastic! You are a star! And thanks for the speedy reply, it's much appreciated.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.