A Button section is a row or column of one or more buttons that link visitors to a page, an action, or a web address. Buttons offer visibility rules (so a button can show only to signed-in or signed-out visitors), a full action library shared with menus and the app, icon inheritance, and a Responsive Stack layout for phones.
To add one, edit a page, add a section, and choose Basic - Buttons. The editor is titled Components: Buttons and has two parts: an overall Button Style that applies to the whole group, and a list of individual Buttons.
Button Style
These settings control the look and arrangement of the whole set of buttons.
- Style - The base button style: Regular 1 through Regular 6, eCommerce 1, eCommerce 2, or Custom. The Regular and eCommerce styles are your site's saved default button styles, which you manage under Styles. Choosing Custom reveals color, shape, size, and fill controls so you can style this group by hand.
- Block - How the buttons are arranged: Horizontal (side by side), Vertical (stacked), Vertical Block (stacked and full width), or Responsive Stack (side by side on a computer, stacking automatically on phones).
- Alignment - default, left, center, or right.
- Visibility - Who sees the whole group: Everyone, Logged In Users, Logged Out Users, App Only, or Outside App Only. Each individual button can override this.
- Icon Position - Whether icons appear to the Left or Right of the button text. Individual buttons inherit this unless they set their own.
- Group - When set to Yes, the buttons are joined together into a single connected group rather than shown as separate buttons.
When Style is set to Custom, the following appear and apply to every button in the group: Button Color, Text Color, Button Color (hover), Text Color (hover), Shape (square, circle, circled corners, or rounded corners), Size (small, medium, large, x-large, xx-large, or xxx-large), Fill (background, outline, or transparent), and Hover Animation.
A Preview below shows each available style. A Manage default buttons button takes you to your site's style settings, where the Regular and eCommerce styles are defined; see Managing Styles.
Buttons
Each button in the list has its own settings. Use Add button to create another, the Move handle to drag buttons into a new order, and Delete to remove one.
- Label - The text shown on the button.
- Action - What the button does, chosen from the shared action library: parish pages such as Home, Events Calendar, Store, or Today; account actions such as Login and Logout; device actions such as Install App and Share Page; or a Custom Link or Custom Javascript. See System Pages and Actions for what each action does.
- Visibility - Who sees this button: Inherit / Default (follow the group), Everyone, Logged In Users, Logged Out Users, App Only, or Outside App Only.
Visibility is applied automatically when the visitor's situation does not match: for example, a Logged In Users button is hidden from visitors who are not signed in, and an App Only button appears only inside the installed app. To save you a step, choosing certain actions sets a sensible visibility for you - a Login button defaults to logged-out visitors, a Logout button to signed-in visitors, and the app actions to the appropriate in-app or out-of-app audience.
Two actions reveal extra fields:
- Custom Link shows a URL (with a Select Link helper) and a Target: Same Window or New Window.
- Custom Javascript shows an On Click (JavaScript) box.
Icon and Per-Button Style
- Icon - An optional icon, chosen from the icon picker.
- Icon Position - Inherit / Default, Left, or Right. Left blank, the button uses the group's icon position.
- Style - Default: Use general group style settings above, or Custom: Use specific style settings below. Choosing Custom gives this single button its own Button Color, Text Color, Button Color (hover), Text Color (hover), Shape, Size, Fill, and Hover Animation, overriding the group.