Templates

  1. Home
  2. Docs
  3. Features
  4. Templates

Templates

Visual Composer allows you to work with templates. A template is a set of elements formed as a ready-to-use layout. A template can be added to the page with a single click.

Once a template is added, you can replace the content of the template with your own. Using templates speeds up the process of creating a page.

You can use Visual Composer predefined templates, download templates from the Visual Composer Hub, and create your own templates to reuse them.

Note: Features like block templates, global templates, template download, and export are premium features.

How to add a template?

All downloaded and created templates can be added to your page from the Add Content Window.

How to add template in Visual Composer

Open the Add Content Window, navigate to templates and click on the template you want to add.

If you want to download more templates, visit Visual Composer Hub. The Hub gives you access to different types of templates, including page templates and block templates.

Download templates from the Visual Composer Hub

A block template is a template that can be used as a section (part) of your page.

How to create your own templates?

In Visual Composer, you can create your own templates.

To save all your page as a template:

  1. Open Add Content Window
  2. Navigate to the Templates tab
  3. Name your template the input
  4. Click "Save Template"
  5. The template will be saved and added to the list

Save page as a template in Visual Composer

In addition to page templates, you can save a part of your page as a template. You can save any row (with content included) as a template. To save row as a template:

  1. Open row Edit Window
  2. Click on the Settings icon
  3. Name your template the input
  4. Click "Save as a Block"
  5. The template will be saved and added to the list

Create block template with Visual Composer

To delete templates:

  1. Open Add Content Window
  2. Click on the Settings icon
  3. Click on the "Cross" icon of the template to delete it

How to add template in Visual Composer

Global templates

Global templates allow to display the same template on several pages and update it from one place. As you modify the global template, all copies of that template will be updated automatically.

This allows to speed up the content management process and ensure design consistency for similar blocks.

With the Global templates addon downloaded, all templates created and downloaded can be used as global templates.

To access global templates, open Visual Composer Dashboard and navigate to Global Templates. There you can edit, delete, and create new templates.

Export Visual Composer template

To add a global template to the page you will need to use the Global Template element. The element will be downloaded automatically together with the addon.

Visual Composer global template element

Once you add an element to the page, you can choose any of your templates from the dropdown menu.

Add global template to the page with Visual Composer

Note: If you want to add a template as a regular template (not global) you can still add template through the Add Content Window.

Export and Import templates

You can export Visual Composer templates (by one or bulk) to upload them to another site.

To export the template, make sure to install the Export/Import addon from the Visual Composer Hub.

To export templates open Visual Composer Dashboard and navigate to Global Templates.

Export Visual Composer template

Note: You can also export headers, footers, sidebars, layouts, and popups.

In the list of templates, hover over the template you want to export and click on "Export". If you want to download several templates, select the templates and choose Export from the Bulk actions.

Your template/s will be downloaded as a zip file.

Import Visual Composer template

To import templates, navigate to Dashboard - Import and select a zip file that contains templates. The templates will be uploaded to your site and added to the list.

Was this article helpful to you? No Yes 4

How can we help?