# Create Custom Layout

The “Create Custom Layout” functionality will empower you to create your own custom layout for the Lagom theme navigation or footer. Your newly created layouts can be activated in Lagom Layout Manager.

# Before You Begin

Some of the Lagom theme layout changes can be performed by adding a few simple CSS rules, so please get familiar with the article below before you begin.

  1. Custom CSS File - allows you to add a custom CSS file to the existing Lagom Style. Most of the changes can be made via CSS, so it is a good place to start your customization.
  2. Style Manager - enables you to customize Lagom theme colors and basic styles via the RS Themes addon. Choose it if you would like to modify layout colors.

# Create Menu Layout

Take a look at the following steps to learn how to create our own Lagom layout or implement modifications to the existing one.

  1. Log in to FTP/SFTP of your WHMCS server.
  2. Go to the /templates/lagom2/core/layouts/main-menu directory on your server.
  3. Duplicate the Layout folder that you want to customize.
  4. Rename the duplicated folder but do not use any special characters or free spaces, for example, new-menu-layout.
  5. Open the duplicated Layout folder.
  6. Open the layout.php file and enter your custom layout name in the name value, for example, New Menu Layout.
  7. Rename the .tpl file, so it will have the same name as your layout folder name, for example, new-menu-layout.tpl.
  8. Open the .tpl file and perform the needed customization.
  9. From now on, your custom Layout will be available in the RS Themes addon, under the “Layouts” tab.

In order to create your own Lagom layout or make modifications to the existing one, refer to the instruction below:

  1. Log in to FTP/SFTP of your WHMCS server.
  2. Go to the /templates/lagom2/core/layouts/footer directory on your server.
  3. Duplicate the Layout folder that you want to customize.
  4. Rename the duplicated folder but do not use any special characters or free spaces, for example, new-footer-layout.
  5. Open your new layout folder.
  6. Open the layout.php file and enter your custom layout name in the name value, for example, New Footer Layout.
  7. Rename the .tpl file to keep the same name as your layout folder name, for example, new-footer-layout.tpl.
  8. Open the .tpl file and perform the needed customization.
  9. From now on, your custom style will be available in the RS Themes addon, under the “Layouts” tab.