Layouts
Layouts determine the visual structure of your storefront. To better understand it, let’s review the key concepts:
- Layout is the overall visual structure of your website or storefront.
- Each layout consists of layout pages. Layout pages correspond to specific pages or types of pages on the storefront, such as Catalog, Profile, and others.
- Each page has a defined logical structure. This structure, without visual content, is called the page framework. The page framework determines where elements such as the top panel, header, and footer are positioned.
- Independent sections within a page that are grouped by functionality are called blocks. Each block displays specific information, such as a logo, product card, search form, etc.
- Blocks are grouped into containers. Containers are structural elements that group blocks and other containers. It is important to note that while a block is a logical unit, a container is a structural wrapper.
The following illustrations show the storefront structure and how a page is composed:
Editing Layouts On-Site
In the Admin panel, go to Website → Themes.
In the Current theme section click Edit layout on-site.
The storefront will open, where elements available for editing will be highlighted with a dotted line. You can drag and drop these elements with the mouse or remove them. You can also switch between pages as in the normal mode.
When you hover the mouse over an editable element, a button menu appears:
- the gear button opens the layout editing menu for the layout page you were on when you clicked this button;
- the eye icon allows you to hide the element on the storefront, and show it again when clicked once more;
- the arrow buttons allow you to change the position of the element on the page.
Adding a Layout
Click + Add layout in the upper-right corner of the page.
In the window that opens, enter the layout name and select the layout you want to use as the base for the new layout (Link blocks from layout). Click Save.
The new layout will appear in the list of layouts on the right (Switch layout). You can switch between layouts by clicking their names in the list. When you hover over a layout name, a gear icon button will appear:
Important
You cannot delete the default layout (i.e., the one used on the storefront). First, select another layout as the default.
Layout Properties
When editing or adding a layout, you can define the following properties:
- Name—the name of the layout.
- Link blocks from layout (when adding a new layout)—choose the layout from which you want to copy the content.
- Default—if this checkbox is ticked, the layout will be set as default and will be used on the storefront.
- Grid columns—choose whether to use the 12- or 16-column grid in the layout.
- Layout width—choose how page layouts are structured:
- Fixed width—pages will have a fixed width (for example, 1200px);
- Full width—pages will use a full-width layout;
- Fluid—pages will have a responsive layout.
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.