Menu to scroll session page

How do I create a menu and it scroll down to the session?
For example, I want to create the service or portfolio option in the menu and have this menu only scroll the page until the specified session.
I don't want to create another page, use the main page.


  • Hi @dstecdiego

    Thanks for contacting us.

    For creating a menu and scroll down it, please follow these steps.

    1. Create a child theme, ignore if already existing.
    2. Create a template-frontpage.php file, open and paste this code:
    3. Save and activate it

    Go to appearance >> Menus and create a menu then add custom links in menu. Refer to this screenshot.

    To change the speed of scroll down you can use this plugin.

    For this "only scroll the page until the specified session", you have to use these id's in custom link same as for #service.

    #home-callout, #portfolio, #testimonial, #latest-news, #client, #footer-callout.

    Let me know for any confusion.

  • Hi,
    I did the indicated procedure and yet it had no effect.
  • I was able to make it work by changing the home.php file.
  • Hi

    Glad to help you!

    If you like our Theme & Support, Rate us HERE.

This discussion has been closed.