| description | Step-by-step guide to building your first website in Elements |
|---|---|
| icon | bolt |
Follow our step-by-step guide to building your first website in Elements.
{% hint style="info" %} New to the terminology? Read Core Concepts alongside this guide. When you are ready for a more detailed walkthrough, continue with Let's Build. {% endhint %}
If you’re new to Elements, this five-minute video shows you how to build a page using Templates and explore a ready-made project.
{% embed url="https://youtu.be/19f5r940LbI" %}
This walkthrough was written by Tom Hogan on the Elements Forum — Thanks Tom 👋
In a new blank project:
- Choose your fonts (family and sizes).
- Establish your brand colours and add other colour choices if necessary.
- Choose your breakpoint sizes.
These are all design choices, but defining them in the theme early will prevent inconsistencies later. Explore other websites and the free Elements projects for ideas.
- On your home page, create a Menu, Container and Footer. Refine the menu and footer, then convert them to Globals. If every page will use the same Flex or Grid structure inside the Container, add that too.
- Establish your basic page structure (you can add to it later) with blank pages that are named (home, blog, gallery, contact, etc.). You can add sub-pages later. Add the Header/Container/Footer construct to each page.
- Add the SVG, JPG, PNG and other assets you expect to use. Organise Resources with a folder structure that reflects your pages, such as
/resources/images/page/resource.xxx. - If you plan to use Elements CMS, add the required folders and files, then add Posts and Authors pages to the structure created in step 5.
- Design with the built-in components and any add-ons you need. A mobile-first workflow is often easiest: begin at the smallest screen, then add breakpoint overrides as the available space increases.
- Add your final page and CMS content. Placeholder text can help you concentrate on the design before the copy is ready.
- Preview the entire site and check every page.
Use lowercase names for files, folders, pages and resources. Avoid spaces; use hyphens between words instead.
While the following video does not cover every feature, it provides a high-level overview of the app’s layout and workflow. You’ll see how to add components, navigate the editor and begin building a website.
Use this as a quick tour of the basics before exploring the rest of the manual.
{% embed url="https://youtu.be/zas7L3rMX18" %}
Elements includes a selection of free, ready-made projects. Use them to launch a site quickly or learn by exploring how their pages were built.
Prepare and optimise media for the web before importing it, particularly video, audio and high-resolution images. Uncompressed or oversized files can increase the project size and slow down both Elements and the published website.
We recommend:
- Compressing images with tools such as Squash, TinyPNG or ImageOptim.
- Optimising videos as MP4 (H.264), reducing their resolution or bitrate where appropriate.
- Hosting large files externally, including video, audio and PDFs, then linking to their URLs. This keeps the project smaller and easier to manage.
{% include "../.gitbook/includes/elements-website-hosting.md" %}
