Making your own Theme

(Redirected from Required HTML Elements)

This article is intended to help you understand what you can do when creating a theme for website builder . At the minimum, a website builder theme consists of a default layout (called default.html) and a directory named assets which contains all the images, css, javascript, flash, etc. Multiple layouts can be created simply by making new html files.

Content Replacement Rules

Content replacement is done by using some simple CSS selectors. (

The only required element is:

Selector Description Example More Information
Content replaced with page components
<div id="location_0" class="location"></div>

Recommended elements are:

Selector Description Example More Information
Content replaced with the site heading
<h1 id="site_heading"></h1>
Content replaced with the site subheading
<h2 id="site_subheading"></h2>
Content replaced with navigation (UL>LI>A)
<div id="primary_navigation"></div>
Content replaced with copyright text
<div id="copyright"></div>

Optional elements are:

Selector Description Example More Information
Content replaced with active page name
<div id="page_name"></div>
Content replaced with components
<div id="location_1" class="location"></div>

  • All content areas should be a #location_N.location which will allow content to be added and drag and dropped to/from the area.
  • You can create as many of these as you want, just make sure you give them a unique location id (#location_1, #location_2, etc.)
  • Any content inside any of these elements will be replaced, so feel free to put placeholder content in to assist you in designing your theme!


You can use whatever you want to make your website how you want it - the only rule is that these files have to reside inside the 'assets' folder. that's it!

The assets folder will be uploaded as-is to the document root of your website (

Link to them relatively (src='assets/file.jpg') to make it easier for you to work on locally, and we will fix them to be absolute when the theme is uploaded to ensure everything works with nested pages.

Base Stylesheet

A 'base' stylesheet will be always be included which contains some basic CSS declarations for some very basic styling of various elements (form elements with errors, various component-specific stuff, etc).

This will always be inserted before your stylesheets to ensure you can override anything you need.

You can view it at:

Titles and Headings

When titles and headings are inserted they will be wrapped in a span. The span will not appear if there is not title set, which allows you to style things differently if text has been omitted - but still giving you an element that always appears in that location regardless of the text being empty or not. (Useful for rounded corners, graphical boxes around components, etc.)


When you are ready to upload your custom theme, please see the Installing Your Theme article.

Further Reading

More information is available on the Creating Website Builder Themes page.