Register for a Free Account
Name
Email
Choose Password
Confirm Password

Positions, Views, View Classes and Wrappers

Every item you publish in Site Planner gets a position, a view and, optionally, view classes, and most content sits inside a wrapper. This article explains each of these choices and how they affect the look of your pages.

Position, view and view class

When publishing content to your site, there are three options you can choose from:

  • Position:
    • This determines where the content will appear on the website (the region of the page template it is placed in).
    • There are only two positions that you will use most of the time when building your site: Body and Hero. Every other position option is used for specific publishing outcomes that are only needed once, such as your header and footer, the main menu, or Load Scripts (in head) for scripts.
  • View:
    • This determines the CSS view that your content will receive. This can affect the entire look and feel of the content you're publishing.
    • A majority of the time, you will select the Basic or Hero view. Wrappers usually use Basic; their other views (Accordion, Slider, Tabs, Offset Container) change how the wrapper arranges what is inside it.
    • Every other view has a specific purpose. You can see a full detailed guide of each view and what they do, through this document.
  • View Class:
    • This adds a layer of styling to the view you've selected. View Classes have the most options to select from, and can bring the most customization to your content.
    • Layout classes such as padding, container width, columns and backgrounds are available on wrappers. To add space, a width or a background around a module or a piece of content, place it inside a wrapper and put the classes on the wrapper.
    • You can see a full detailed guide of each view class and what they do, through this document.

Wrappers

A wrapper is a container for your content items. Almost all content goes inside wrappers on the Site Plan side of Site Planner. Spacing, width, columns and backgrounds are set on the wrapper (with view classes), not on the content inside it. Besides the basic wrapper, a wrapper can arrange its contents as an accordion, tabs, a slider (carousel) or an offset container.

Basic Wrappers are used to hold content in a specific place on one of your website pages. These are the backbone that structure the way your site will look. These are extremely useful for configuring content into multiple rows, images, etc., that you can easily move from one spot to the next by dragging and dropping.

How to use wrappers on your site

Basic Wrappers: These types of wrappers are good for the general content and can be used to easily organize and style your desired page. Organizing can be done by labeling them once you drag and drop them onto the page. For stylization, you simply add the View Classes, if applicable with the view and position chosen, and then publish the content to that wrapper.

Note: Every single client installation comes with a Basic Wrapper. DO NOT DELETE OR RENAME THIS AS THIS WILL BREAK YOUR SITE COMPLETELY! If you wish to create more wrappers, simply add a new wrapper within the 'Wrapper' folder.

Image (hero) wrappers: Use these when you would like content to be displayed over an image. All you have to do is create a new wrapper, name it, and add an Image. Publish it to your page by dragging and dropping it, then add your static content to the wrapper and you are done!

Adding a wrapper to a page

You don't need to create a new wrapper in Content Explorer each time you add a section to a page. The Basic Wrapper works like a stamp: each time you drag it onto a page, you get a new, separate container on that page.

  1. In Content Explorer, open the Wrappers folder.
  2. Drag Basic Wrapper onto the page in the Site Plan, and drop it when the green plus sign (+) appears.
  3. In the Site Plan Assignment window, choose the Position (usually Body or Hero), the View (usually Basic) and any View Classes, such as padding, centering or a background color.
  4. Click Save & Close.

These settings apply only to this placement, so changing them won't affect other pages that use the Basic Wrapper. Create a new wrapper item only when it needs its own background image, such as an image (hero) wrapper.

View classes

View classes are publishing options for wrappers, content items and modules. When you drag an item to the Site Plan side, the view classes available for it appear for you to select. Top and bottom padding, side padding, centering, columns and background colors are applied to wrappers; content items offer styling such as text alignment, title size and text color; modules can only be hidden on desktop, tablet or mobile. The view classes offered depend on the item's type and view.

Hero images

A hero image is a static banner image at the top of a page. It extends full width and gives a first impression of the website's look and feel. A hero is created in Content Explorer and published in Site Plan: a static item is published as a hero by choosing the Hero view when it is placed (not a view class). View classes can then adjust it, for example its height or effects.