Our Ultima Gaming theme works well as a WordPress theme for entire multi-page website, or a simple one-page website.
If you’re using our theme for a one-page website you may want your main navigation to act as smooth ‘jump links’ to relevant content sections on your page, rather than take you to other pages.
This behavior is built into the theme and is relatively simple.
First, head to Ultima Settings -> Header Settings.
Ultima Settings -> Header Settings
Now set Navigation Scroll to Yes.
The next step is to setup your navigation. In WordPress, head to Appearance -> Menus.
Appearance -> Menus
If you haven’t yet created a menu, do that now by clicking Create Menu.
Name it ‘Main’ or something along those lines, and under Display Location choose Main Navigation.
Now we need to add some navigation items. For this example let’s assume our page is built up of three sections. About, Schedule and Team.
Create three Custom Links and add them to your Menu. The URL field of your Custom Links should start with a # and be reflective of the section name. For example, #about, #schedule and #team.
Always use lowercase here, no special characters and no spaces. If you need to use a space, use a - and _ instead.
Your navigation will now look something like this. Make sure you save your Menu and now head on over to edit your page content in WordPress.
The next step is to define each of the sections on your page with the same ID as defined in your Menu.
Navigate to your components within Flexible Template. Find the section you want to link.
Under Layout Options, fill Section ID with the IDs you defined in your Menu. For example, add about as a Section ID and you have just linked your #about item in the Menu to this section.
Do the same for all sections of your page which you want to link to the Menu. In our example, I now have three sections with Section IDs of about, schedule and team.
That’s it! So clicking the about item in the Main Menu, which has a url of #about, now smooth scrolls to the section on the page with a section ID of about.