The basic building block of any page is a Block. Think of a block as a section of content in your site - it might be a menu, a banner, categories, a snippet of HTML, or written content.
Ozcart organises pages by their basic type and allows you to assign layouts to them - the default page layout is for the overall website, and then there are layouts for the other main types of pages like your categories, the contact us form, brands/manufacturers, etc.
To use blocks in your website, you first create them then you place them. To create a block you first do this under Design > Blocks. Instructions on doing this are covered in a separate knowledge base article.
This article explains how to place blocks that have already been created. The tool to do this is called Layouts Builder, which can be found under Design > Theme Settings > Layouts Builder tab in the control panel area. The screen looks like this:
Note, you will not be able to work with the Layouts Builder on mobile devices due to the way that dragging behaviour works on mobile devices. So, the Layouts Builder is automatically disabled for certain smaller screen sizes. We recommend using a desktop computer to use the Layouts Builder tool.
There are three main parts to the page.
At the top is a dropdown box where you can choose the type of page you want to work with. The default choice shown is the Homepage, but you can edit the components that are shown for the other types of pages found in the store.
Note that default is the page layout for the header and footer and left hand "off-canvas" fly-in menu. Manufacturer is for your brands/manufacturers, and "Ozc Blog" is the Ozcart blog component.
Once you've chosen a page to work with, you can drag block components that you created and enabled previously into positions on that layout. You can't drag blocks into the header or footer. The sections you can drag blocks into are:
- Offcanvas - this is the fly out menu (that also shows up in mobile responsive mode). Either the category or mega menu details is shown in this side bar first, and then any blocks you choose.
- Topbar - this is the first line of text across the top of the screen on your website.
- Main Menu - this is where the top horizontal menu is shown. If you add anything here, the built-in menus will be disabled.
- Slideshow - this is a position that takes up the full area available in the central panel of your website. You can put a big image into it that will appear at the top of your page under the menus, but above any automatically generated content.
- Showcase - this is a similar position to Slideshow but allows you to display content in columns. The dropdown box lets you choose the width of one column. The whole screen is divided into 12ths so the number 1 is 1/12th, 3 is 3/12ths, 6 is 6/12ths (half), etc.
- Promotion - this works the same way as the Showcase position above it.
- Column Left - if you wish to have a left sidebar on the page, add blocks to this. Otherwise the screen will have no left sidebar.
- Content Top - appears in the centre panel of the screen right above the automatically generated content like products.
- Content Bottom - appears directly below the automatically generated content on the screen.
- Bottom Promotion Area - a position for you to add content between the automatically generated content and the footer. Like the Slideshow and Showcase sections, it takes up the full available width.
- Widget Footer - this is an area to place blocks in like the Newsletter subscribe functionality - if you require it.
- Menus Footer - this is where the Footer Menus appear.
- Copyright footer - this is where the copyright notice appears underneath the other footers.
Drag blocks into positions to place them, or drag them back to the Available Blocks section to remove them. Click the blocks to edit them. Save the blocks when you're done by clicking the save button at the top of the screen. Note that there's no undo on save, so make sure that everything is okay before you click save.