Page anchors not working

Hi there,

I have turned one of my pages into a "one-page" thing, and I have tried everything to get anchors and smooth scrolling to work but nothing seems to happen or it jumps way past where I put in the anchor tag. 

This is the only page on our site that we want to be this big one-page thing with smooth scrolling throughout the sections, but i can't figure out how to make it work. Is it possible to add a menu in a section on the page http://themes.muffingroup.com/be/splash/ where you can click through the different site templates?


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 have a split menu, so you have to set a left menu (main menu) and a right menu (secondary menu) Basically you need to create two menus for this -http://prnt.sc/f2vba9
    5. 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
    6. Edit the section to which you want the button to scroll -http://prnt.sc/f2vcho
    7. 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
    8. 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.
Sign In or Register to comment.