1. Home
  2. Docs
  3. Basic Setup
  4. Menus(Navigation)
  5. Creating One Page menu

Creating One Page menu

When you are using Rife theme to create One Page site, you often will want to create menu that links to specific sections on your site.

To do it you will have to use anchors, it means links that looks like http://rifetheme.com/chillout2/#home – most important is part #home

Adding anchors in menu

You could add your links just as anchors alone like #home however then if you will have some sub-page, like Blog, and it will display same menu, then this links will not work.

It will not work cause you probably will not have same sections as on your front page.

Cause of that safest way to add anchors to main menu is to use absolute links it mean links with your domain and anchor. Example http://rifetheme.com/chillout2/#home

How to add anchor

Open Custom Links option, and enter there whole link and Link Text. Click Add to Menu.

How to add anchor to menu
How to add anchor to menu

 

After this you should have such menu position(image below). You can now add icon to it if you want.

Anchor added to menu
Anchor added to menu

 

Was this article helpful to you? Yes 2 No