Aero Page Builder Documentation

APB Basics

APB Basics

APB Basics explains the settings shared by every Page Builder component. Read these pages once; the component pages link back here instead of repeating them.

Getting started

Getting started

This page shows where the Page Builder lives on the edit form, how to add a component, how to fill it in, and what happens when you save. Every other page in APB Basics assumes you have read this one.

What is a component?

A component is a self-contained block that you add to a page: an accordion, a carousel, a gallery, a list of links, a video, and so on. A page is built by stacking components in the order you want. Most components contain items — the individual panels of an accordion, the slides of a slideshow, the cards of a feature box.

Aero Page Builder ships fifteen components:

ComponentWhat it is for
AccordionStacked panels that open and close; good for FAQs and long lists of details.
CarouselSeveral cards shown side by side, scrolled with arrows.
Feature BoxA grid of image cards with a title, text and optional link.
Image GalleryA grid of thumbnails that open in a lightbox.
Infinite LogosA continuously scrolling strip of logos (sponsors, partners).
LinksA list or grid of links, buttons or icon links.
Overlay ContentTeasers that open their full content in an overlay window.
ProfilesPeople cards (photo, name, role) with an optional detail pop-up.
Read MoreA short text that expands to show the rest.
Simple ContentFree-form rich text arranged in regions, with optional backgrounds.
SlideshowFull-width slides with text over images, played one at a time.
Special ListA styled list (icons, numbers, checkmarks).
TabsContent split into tabs.
VideoOne or more videos (uploaded or from YouTube/Vimeo).
ViewsEmbeds a Drupal View (a dynamic list of content) inside the page.

Each component has its own page in the Components section of this documentation. This section, APB Basics, covers the settings they all share.

Where is the Page Builder?

Edit a page whose content type has the Page Builder enabled (on most sites: Basic page; your administrator may enable it on other content types). Below the usual Title and Body fields you will find a blue Page Builder bar. Everything under that bar is APB.

The Page Builder field on the edit form: two collapsed Accordion cards followed by the Add new content buttons, one per component.
The Page Builder field: existing components appear as collapsed cards, followed by one Add … button per component.

Adding a component

  1. Scroll to Add new content and click the button of the component you want, for example Add Accordion.
  2. A new card appears at the end of the list, already expanded. Give it a Section Title so you can recognise it later (see Section Title and Intro Text).
  3. Fill in the component’s own fields and add its items (see below).
  4. Save the page. Components are saved together with the page; there is no separate save button for a component.

You can add as many components as you need and mix different kinds on the same page. Components are displayed in the order of the cards, from top to bottom, unless you move them elsewhere with Target Placement.

Anatomy of a component card

An expanded Accordion card: header with the component type and a Remove button; Section Title row; Config row with Target Placement, Color Style, Component Width and Custom Class; collapsed Intro Text; Accordion Items table with Add new Accordion Item; collapsed Container Settings.
An expanded Accordion card. Other components have the same structure with different fields in the Config row and a different items table.

From top to bottom, a card contains:

  • Header — the component type, the Section Title (once you have typed one), and the red Remove button. Click anywhere on the header to collapse or expand the card.
  • Section Title rowSection Title, Show Section Title and the Published switch. See Section Title and Intro Text.
  • Config row (light blue) — the layout settings: Target Placement, Component Width, Columns and Column Gap, Color Style, Custom Class, plus a few options specific to the component (for the Accordion: Open first item).
  • Intro Text — collapsed by default; an optional paragraph shown under the section title.
  • Items — the table of the component’s items with Add new … and Add existing … buttons.
  • Access Control — when present, lets you restrict who sees the component. See Advanced settings.
  • Container Settings — collapsed by default; spacing, border and background of the box around the component. See Container Settings.

Adding items to a component

  1. Inside the card, click Add new … (for example Add new Accordion Item). A small form opens inside the card.
  2. Fill in the item’s title and content and click the green Create … button at the bottom of that form. The item is added to the table.
  3. Repeat for each item. Drag the handle at the left of a row to reorder items.
  4. Use the Edit, Duplicate and Remove buttons in the Operations column to change an item later.

Add existing … lets you reuse an item that already exists on another page (start typing its title). This is handy for items that must be identical everywhere, such as a standard disclaimer panel. Editing a shared item changes it on every page that uses it.

Items are saved only when you save the page. If you leave the edit form without saving, new items are lost.

Reordering, collapsing and removing components

  • Reorder — drag the handle at the left of a card up or down. If you prefer numbers, click Show row weights at the top right of the Page Builder and set a weight per card (lower numbers first).
  • Collapse / expand — click the card header. Collapsed cards still save normally; collapsing is only for your convenience while editing.
  • Publish / unpublish — the Published switch in the Section Title row hides the component from visitors without deleting it. Use it to prepare a component in advance or to take one down temporarily.
  • Remove — the red button in the header removes the component from the page. The card is replaced by a notice with a Restore button until you save; after saving, the removal is permanent.

Saving and checking the result

Click Save at the bottom of the edit form as usual. Open the page to check the result. If a component does not appear where you expected, the usual causes are:

  • its Published switch is off;
  • its Target Placement points at an area that does not exist on this page (the component is then hidden);
  • its Access Control excludes the role you are browsing with;
  • the component has no items yet.

Where to go next

Section Title and Intro Text

Section Title and Intro Text

Every component starts with the same three fields — Section Title, Show Section Title and Published — and most also offer an optional Intro Text. Together they give the component a heading and a short introduction.

The Section Title row of a component card: a Section Title text field, a Show Section Title drop-down set to No, and a Published switch turned on.
The Section Title row, present at the top of every component card.

Section Title

A short plain-text heading for the component, for example Frequently asked questions or Our partners. It is used in two places:

  • In the editor, the title appears in the card header next to the component type, so you can tell your components apart when they are collapsed. This works even if the title is not shown on the page.
  • On the page, when Show Section Title is Yes, the title is displayed as a heading directly above the component, inside its container. The heading uses the page’s standard section heading style (an h2), so it lines up with other headings on the page.

Always fill in a Section Title, even when you do not want it displayed. A page with five components all labelled just “Accordion” is much harder to maintain.

Show Section Title

A required Yes/No choice that controls whether the Section Title is printed on the page.

  • No (default) — the title is kept for the editor only. Use this when the component follows a heading you already wrote in the Body, or when the component speaks for itself (a slideshow, a logo strip).
  • Yes — the title is printed above the component.

The title is styled by the site theme. If you set a Text color in the container settings, the section title takes that color as well.

Published

The switch at the right of the row. When it is off, the component is kept on the page but is not shown to visitors. Editors still see it in the edit form. Use it to draft a component before it goes live, or to hide one temporarily without losing its content.

Intro Text

A collapsed Intro Text section sits just below the Config row on most components. It holds an optional rich-text introduction that is printed between the section title and the component’s items.

The Intro Text section expanded, showing a rich-text editor with formatting toolbar and the text This is the intro text.
Intro Text uses the same rich-text editor as the page Body (APB Full HTML format).
  • Click the Intro Text heading to expand the section; it is collapsed to keep cards short.
  • You can use paragraphs, bold and italic, lists, links and even images, exactly as in the Body field. Keep it short: one or two sentences that explain what the component contains.
  • Intro Text is printed even when Show Section Title is No.
  • Intro Text follows the same Text color as the section title when one is set in the container settings.

Components that do not have an Intro Text section: Overlay Content, Read More and Special List. Their own fields cover that need.

What it looks like on the page

With Show Section Title = Yes and an Intro Text, the component renders in this order inside its container:

  1. Section Title (heading)
  2. Intro Text
  3. The component’s items (accordion panels, slides, cards, …)

All three sit inside the same box, so a background or border set in Container Settings wraps the title and the intro as well as the items.

Component Width

Component Width

Component Width decides how much of the available horizontal space a component occupies. At 100% it fills the content area; at any smaller value it becomes narrower and is centered automatically.

Two simplified pages. Left: a component filling the whole content area, labelled Component Width 100%. Right: the same component at 75% of the content area, centered, with 12.5% empty space on each side.
100% fills the content area; 75% leaves equal empty space on both sides.

Where to find it

In the light-blue Config row of the component card. The drop-down offers eleven values:

The Component Width drop-down expanded, listing 25%, 33%, 40%, 50%, 60%, 66%, 70%, 75%, 80%, 90% and 100%.
Component Width options.
ValueTypical use
100% (default)Almost everything. The component takes the full width of the content area.
90%, 80%, 75%, 70%A slightly narrower block that stands out from surrounding text, e.g. a video or a quote-like feature box.
66%, 60%, 50%Narrow blocks such as a single-column links list or a small gallery, centered under the text.
40%, 33%, 25%Very narrow; use with care — text inside becomes hard to read on medium screens.

Overlay Content is the only component without this setting; it always uses the full width.

How it behaves

  • Percent of the content area, not of the screen. If the page has a sidebar, 100% means the main column, not the whole window. If you move the component with Target Placement, the percentage applies to the area you moved it to.
  • Always centered. A component narrower than 100% gets equal empty space on its left and right. There is no left- or right-aligned option.
  • Items adapt. When a component uses Columns, the item width is calculated from the component width: three columns at 50% are half as wide as three columns at 100%.
  • Small screens ignore it. On screens up to 680 pixels wide (phones) every component is displayed at full width, whatever the setting, so that content stays readable.
  • Container settings follow the component. Backgrounds, borders and padding apply to the narrowed box, not to the full content area. The empty space on both sides stays transparent.

Example

The two feature boxes below come from the same page; the first is set to 100%, the second to 90%. Notice the equal margins on both sides of the second one.

A feature box with a blue background spanning the full content width, with three image cards.
Component Width: 100%.
A feature box with a green border occupying 90% of the content width, centered, with three image cards.
Component Width: 90%. The component is centered and its border follows the narrower box.

Tips

  • Keep most components at 100% and use a narrower width only to make one block stand out; alternating widths on every component makes the page look ragged.
  • For side-by-side arrangements use Columns inside one component rather than two narrow components — two components are always stacked, never placed next to each other.

Columns and Column Gap

Columns and Column Gap

Components that show several items in a grid let you choose how many items sit side by side (Columns) and how much space separates them (Column Gap).

Left: six items arranged in three columns with a small 8 pixel gap highlighted between them. Right: the same items in two columns with a larger 32 pixel gap. A legend explains that items wrap to the next row and that item width is calculated automatically.
Items fill a row from left to right and wrap to the next row. The gap applies between columns and between rows.

Which components have these settings

Carousel, Feature Box, Image Gallery, Links, Profiles, Simple Content, Special List, Video and Views. Components that stack their items vertically by nature (Accordion, Tabs, Read More, Slideshow, Infinite Logos, Overlay Content) do not have them.

A few components interpret the settings in their own way — for a Carousel, Columns is the number of cards visible at once; for Views it applies only in the Boxed Card display. The component pages give the details.

Where to find them

Both drop-downs are in the light-blue Config row of the card, next to Target Placement and Component Width.

The Config row of a Feature Box card: Target Placement, Display Type, Columns set to 3 columns, Column Gap set to 30px, Height, Orientation, Color Style, Component Width and Custom Class.
Config row of a Feature Box. Columns and Column Gap are in the first line; the other fields are specific to the Feature Box.

Columns

The Columns drop-down expanded, listing 1 column to 10 columns.
Columns options: 1 to 10.
  • Choose from 1 column to 10 columns. The field is required; each component has its own sensible default (Feature Box and Profiles: 3 columns; Links: 2 columns).
  • Items are placed left to right; when a row is full the next item starts a new row. Six items in three columns make two rows; seven items make three rows with a single item on the last one.
  • All columns have the same width. The item width is worked out automatically: (component width − gaps) ÷ number of columns. A narrower Component Width therefore makes every column narrower.
  • Pick the number of columns from the content, not the other way round: three or four cards with images, six to eight small logos or icons, one or two for text-heavy items.

Column Gap

The Column Gap drop-down expanded, listing 0px, 4px, 5px, 8px, 10px, 15px, 16px, 20px, 24px, 25px, 30px, 32px, 40px, 48px, 56px and 64px.
Column Gap options, in pixels.
  • The space between neighbouring items, both horizontally (between columns) and vertically (between rows). Values run from 0px (items touch) to 64px.
  • Defaults vary per component (Feature Box: 30px; Profiles: 32px; Links: 16px). Values around 16–32px suit most designs.
  • The gap is not added on the outside of the grid; the first and last columns stay flush with the component edges. Use Padding if you want space around the whole grid.
  • With 1 column there is nothing to separate horizontally; some components (Views) ignore the gap entirely in that case.

What happens on tablets and phones

The number of columns you choose is the number used on desktop screens. On smaller screens APB reduces it automatically so that items stay readable:

Screen widthColumns actually shown
Wider than 980 px (desktop)As configured (1 to 10).
681 to 980 px (tablet)3 or 4 columns become 2; 5 to 10 columns become 3; 1 and 2 stay as they are.
Up to 680 px (phone)Always 1 column, items stacked.

The gap value stays the same on every screen size. The Carousel is the exception to the table above: it keeps sliding and uses its own steps (at most 3 cards up to 900 px, 2 up to 680 px, 1 up to 480 px).

Tips

  • Try to give the grid a number of items that fills the last row (6 or 9 items for 3 columns, 8 for 4 columns). A lone item on the last row looks unfinished.
  • Images inside items are cropped or scaled per component; a large number of columns means small images. Check the result on the page after saving.

Target Placement

Target Placement

By default a component is printed in the page body, in the order of the cards. Target Placement lets you send it somewhere else on the page instead — above the title, into a sidebar, or edge to edge across the main column — without touching the theme.

Where to find it

Target Placement is the first drop-down of the light-blue Config row on every component. It is required; the default is Body.

The Target Placement drop-down expanded, listing Body, Header, Main Content - No container, Main Content Top, Main Content Bottom, Top region, Sidebar Top, Sidebar Bottom, Internal Placement 1, Internal Placement 2 and Internal Placement 3.
Target Placement options on the demo site. Header is a site-specific addition; the other ten are standard.

The areas of the page

A simplified page showing the placement areas: Top region under the header; a sidebar with Sidebar Top and Sidebar Bottom around the sidebar blocks; the main column with Main Content - No container, Main Content Top, the page title and body where components appear by default, and Main Content Bottom; the footer; and a note about Internal Placement 1 to 3 as free slots defined by the theme.
Where each option puts the component. Orange areas are placement targets; the blue box is the default position in the body.
OptionWhere the component appearsNotes
Body (default) Exactly where the card sits in the Page Builder list, after the page’s Body text. Use this unless you have a reason not to. Order follows the cards.
Main Content Top At the very top of the main content column, above the page title. Good for a slideshow or banner that must come before the title. If several components use it, the one lowest in the card list ends up on top.
Main Content Bottom At the very end of the main content column, after everything else on the page. Good for a call-to-action, related links or a footer-like block. Several components keep their card order.
Main Content - No container Above the main content, but outside the normal content padding, so the component can stretch from edge to edge of the main column. Use for full-bleed backgrounds. The section title gets an inner wrapper so the text still lines up with the rest of the page.
Top region Directly under the site header, across the full width of the page, before the sidebar and the main column. Designed for hero slideshows. The page title is hidden when a component is placed here, because the hero is expected to carry its own heading.
Sidebar Top In the sidebar, before the sidebar blocks (menus, etc.). Only works on pages where the theme actually shows a sidebar. Keep the component narrow: a links list, a small profile.
Sidebar Bottom In the sidebar, after the sidebar blocks. Same conditions as Sidebar Top.
Internal Placement 1, 2, 3 Free slots with no fixed position. A designer decides where each one appears by adding it to a page or content-type template. They do not exist on a standard site. Use them only when your designer tells you that a slot has been prepared.
Header (this site only) Immediately before the page-title block. Not part of the standard set; it was added on the demo site. Your site may have similar extra options.

Example: a slideshow in the Top region

The top of a page: site header with logo and menu, and directly below it a full-width slideshow with the text Aero Page Builder, Create. Customize. Inspire. No page title is visible.
A Slideshow with Target Placement = Top region. It sits under the header, and the page title is hidden.

Rules worth knowing

  • The move happens in the browser. The component is still saved as part of the page; it is relocated when the page is displayed. Its Component Width percentage then applies to the area it was moved to.
  • Missing area = hidden component. If the chosen area does not exist on the page (no sidebar on this page, an Internal Placement the theme never defined), the component stays hidden rather than falling back to the body. When a component “disappears”, check this setting first.
  • Only the areas the theme provides. The list is the same for every content type, but whether an area exists depends on the theme and on the page (for example, whether it has a sidebar). When in doubt, try it and look at the page.
  • Order in a shared area. Components sent to the same area keep their card order, except in Main Content Top and the Internal Placements, where each component is inserted at the start of the area — so the last card ends up first. Drag the cards to adjust.
  • Container settings and section title travel with the component. Backgrounds, borders, padding and the section title are all moved together.

Tips

  • Reserve Top region for one hero component per page; two full-width slideshows stacked under the header rarely look intentional.
  • Keep sidebar components light. Ten columns of feature boxes in a 300-pixel sidebar will collapse to a single column and become very tall.
  • If a component must appear in the same area on many pages, ask your administrator whether a block would serve better; Target Placement is meant for per-page decisions.

Container Settings

Container Settings

Every component sits inside an invisible box called its container. Container Settings let you shape that box: the space inside and around it, a border, and a background color, image or video — the same way on every component.

The box around a component

Nested rectangles: an outer dashed orange rectangle labelled Margins (space outside the border, always transparent), a thick blue rectangle labelled Border, a light blue area labelled Padding (space inside the border, shows the background), and a white inner box labelled Component content: title, intro, items. Callouts mark margin top, bottom (default 32px), left and right.
From the outside in: margins, border, padding, content. The background fills the border and padding area; margins are always transparent.

The four groups of Container Settings map onto this picture:

  • Padding and Margins — how much empty space there is inside the border (padding) and outside it (margins).
  • Border — a line on any of the four sides, its color, and rounded corners.
  • Background — a background color and/or a background image or video, with opacity and blur, plus an optional text color for the section title and intro.
  • Background Media Parallax — makes a background image drift slowly as the visitor scrolls.

The container wraps the whole component: section title, intro text and items all sit inside it. When the component is narrower than 100% (Component Width), the container is the narrowed, centered box.

Where to find it

Container Settings is the last section of a component card, collapsed by default. Click its heading to open it; inside, each group (Padding, Margins, Border, Background) is a further collapsible section, followed by the Background media field.

The Container Settings section fully expanded: Padding (Top, Right, Bottom, Left all 0px), Margins (0px, 0px, 32px, 0px), Border (four sides set to none, Border color black, Border radius none), Background (Background color, Text color, Text color applies to, Background opacity 100, Background blur 0, and the Background Media Parallax group with Enable parallax, orientation Up, scale 1.4, delay 1), and the Background media field with an Add media button.
The complete Container Settings section with every group opened and default values.

Default values

A new component starts with a neutral container: no border, no background, no padding, and a 32-pixel margin below it so that stacked components do not touch.

GroupDefaultEffect
Padding0px on all sidesContent touches the border.
MarginsTop 0px, Right 0px, Bottom 32px, Left 0pxA gap under each component.
BorderAll sides none, color #000000, radius noneNo visible border.
BackgroundNo color, no text color, opacity 100%, blur 0, no media, parallax offTransparent; the page background shows through.

You only need to open Container Settings when you want to change something. Leaving it untouched is the right choice for most components.

Which components have Container Settings

  • Full set (padding, margins, border, background, media, parallax): Accordion, Carousel, Feature Box, Image Gallery, Infinite Logos, Links, Profiles, Read More, Special List, Tabs, Video, Views.
  • Padding and Margins only: Slideshow — each slide already has its own background, so the container has no border or background groups.
  • No Container Settings: Simple Content (it has per-region backgrounds instead) and Overlay Content.

Typical recipes

You wantSet
A colored band behind a componentBackground color + Padding 32px on all sides (so the content does not touch the colored edge) + optional Text color.
A framed boxBorder 1px or 2px on all sides + Border radius 8px + Padding 24px.
A photo behind a title and introBackground media (image) + Text color white + Padding 64px top and bottom; if the text is hard to read, add a few pixels of Background blur or choose a darker, calmer photo.
Two components closer togetherReduce the Margin bottom of the first one from 32px to 8px or 0px.
A cinematic heroBackground media (image) + Enable parallax.

Entering sizes

Padding, margin, border widths and border radius are typed as a number followed by a unit: 16px, 1.5rem, 2em or 5%. Pixels (px) are the easiest to predict. The word none is accepted for border sides and radius. A value without a unit, or with a typo, is rejected when you save the page.

Padding and Margins

Padding and Margins

Padding is the empty space inside the container, between its edge and the content. Margins are the empty space outside the container, between it and whatever comes before, after or beside it. Both are set per side: Top, Right, Bottom, Left.

Nested rectangles showing margins outside the border, padding inside the border, and the component content in the middle.
Padding is inside the border and shows the background; margins are outside and always transparent.

Padding

The Padding group with four text fields Top, Right, Bottom and Left, all set to 0px.
Padding fields with their default of 0px.
  • Default: 0px on all four sides.
  • Padding matters as soon as the container has a visible background or border: without padding, the text and images touch the colored edge. Typical values are 16px to 48px.
  • Padding is inside the container, so it is covered by the background color or image. Increasing the top and bottom padding is how you make a background band taller.
  • Padding reduces the space left for the content. On a narrow Component Width or in a sidebar, keep padding small.

Margins

The Margins group with four text fields: Top 0px, Right 0px, Bottom 32px, Left 0px.
Margin fields with their defaults. Bottom is 32px so that stacked components are separated.
  • Default: Top 0px, Right 0px, Bottom 32px, Left 0px.
  • The bottom margin is what keeps consecutive components apart. Lower it to bring two related components closer; raise it (64px, 96px) to separate sections more clearly.
  • Margins are always transparent: the page background shows through, never the container background.
  • Left and right margins are handled for you when the component is narrower than 100% — APB centers the component automatically (see Component Width). Leave them at 0px unless a designer asks otherwise; a left or right margin on a 100%-wide component pushes it out of alignment with the rest of the page.
  • Set vertical spacing on one side only (the bottom, as the default does). Mixing top and bottom margins across components makes the spacing between them hard to predict.

Accepted values

Each field takes a number followed by a unit:

UnitExampleMeaning
px24pxPixels. Fixed size; the easiest to reason about.
rem1.5remMultiples of the site’s base font size (usually 16px, so 1.5rem = 24px). Scales with the visitor’s font settings.
em2emMultiples of the component’s own font size.
%5%Percentage of the width of the surrounding area (for all four sides, including top and bottom).

Decimals are allowed (0.5rem). Negative values, values without a unit and anything else are rejected when you save. An empty field means “no rule”: the component then uses whatever spacing the site theme gives it, which is usually none — type 0px when you explicitly want zero.

Examples

GoalPaddingMargins
Plain component in the flow of the page0px all sides0 / 0 / 32px / 0 (defaults)
Colored band with comfortable breathing room32px all sides0 / 0 / 48px / 0
Tall hero with a background photo96px top and bottom, 32px left and right0 / 0 / 64px / 0
Two components that belong togetheras neededfirst: bottom 8px; second: default

Border

Border

The Border group draws a solid line around the container — on all four sides or only some of them — in one color, with optional rounded corners.

Three example boxes: one with a 2px blue border on all sides and square corners; one with only a 4px orange bottom border; one with a 2px green border and 16px rounded corners.
All sides, one side only, and rounded corners. The border is always a solid line.

The fields

The Border group: Top, Right, Bottom and Left fields set to none; a Border color swatch set to black; a Border radius field set to none with the hint Examples: none, 4px, 8px, 50%.
The Border group with its defaults: no border, black, square corners.
FieldDefaultWhat to type
Top / Right / Bottom / Left none The thickness of the line on that side: 1px, 2px, 4px… or none for no line. Each side is independent.
Border color #000000 (black) Click the swatch to open the color picker, or type a hex color such as #184D9B. One color is used for all sides that have a border.
Border radius none How rounded the corners are: 4px (subtle), 8px, 16px, or 50% (a pill or circle shape). none keeps square corners.

How it behaves

  • Solid only. There is no dashed or dotted option; the line is always continuous.
  • The border sits between padding and margin. Without padding, the content touches the line. Add 16px to 32px of padding when you draw a border on all sides.
  • The radius also clips the background. When you set a radius, the container background (color, image or video) is rounded to the same corners, and anything that would stick out of the rounded corner is cut off.
  • The radius works without a border. You can round the corners of a plain background band by setting a radius and leaving all sides at none.
  • Sizes follow the same rules as padding: a number with a unit (px, rem, em, %). Invalid values are rejected when you save.

Examples

LookTopRightBottomLeftColorRadius
Thin frame1px1px1px1px#D9E2EC8px
Card with rounded corners2px2px2px2px#009A6E16px
Accent line on the left (quote style)nonenonenone6px#FF6D00none
Divider under the componentnonenone1pxnone#CBD2D9none

The 90%-wide feature box on the Component Width page is a real example: a 3px green border with rounded corners.

Background

Background

The Background group fills the container with a color, an image or a video, controls how transparent or blurred that fill is, and can change the color of the text printed on top of it.

The fields

The Background group: Background color and Text color swatches (both empty), Text color applies to set to Exclude items, Background opacity (%) 100, Background blur (px) 0, and the collapsed Background Media Parallax group with the Enable parallax switch.
The Background group with its defaults (parallax was switched on here only to show its fields). The Background media field itself sits just below the Container Settings groups.
FieldDefaultPurpose
Background coloremptyA flat color filling the container.
Text coloremptyColor of the section title and intro (and optionally the items) so they stay readable on the background.
Text color applies toExclude itemsWhether Text color also reaches the text inside the component’s items.
Background opacity (%)100Transparency of the background color, from 0 (invisible) to 100 (solid).
Background blur (px)0Softens the background image or video.
Background medianoneAn image, uploaded video or YouTube/Vimeo video that fills the container.
Background Media ParallaxoffScroll effect for a background image; see its own page.

Background color

  • Click the swatch to open the color picker, or type a hex value such as #184D9B. Clear the field to remove the color.
  • The color fills the whole container: padding included, margins excluded. Add padding so that the content does not touch the edge of the colored area.
  • With a border radius, the color is rounded to the same corners.
  • When a Background media is also set, the image or video covers the color; the color is only visible for an instant while the media loads, or through transparent parts of a PNG. Use one or the other.

Text color and “Text color applies to”

A dark background makes the default (dark) text unreadable. Text color fixes that without touching the theme:

  • Pick a color (usually white, #FFFFFF, on dark backgrounds). Leave it empty to inherit the normal page text color.
  • Text color applies to decides how far the color reaches:
    • Exclude items (default) — only the Section Title and Intro Text change color. The items keep their own styling (a card with a white body stays readable).
    • Include items — the text inside the component’s items changes color as well. Use it for components whose items are plain text on the container background, such as a Links list or a Special List.
  • Text color has no effect until you set it; the “applies to” choice alone does nothing.

The full-width feature box on the Component Width page shows the combination: blue background color, white text color, rounded corners.

Background opacity (%)

Three copies of the same photo behind a section title: at opacity 100% and no blur; at opacity 50% where the page shows through and the photo looks washed out; and at 6px blur where the photo is soft and the text easier to read.
Opacity lets the page show through the background; blur softens it.
  • A whole number from 0 to 100. 100 is a solid color; 50 lets half of what is behind the container show through; 0 makes the color invisible.
  • Opacity applies to the Background color. It does not fade a background image or video, and it never affects the text.
  • Typical use: a light tint over a patterned page background (opacity 20–40) so the component stands out gently.

Background blur (px)

  • A whole number of pixels, 0 (default) for no blur. 2–4px softens a photo slightly; 8–12px turns it into an abstract wash.
  • With a Background media, the image or video itself is blurred (and enlarged a little so its edges stay covered). This is the usual way to keep a title readable over a busy photo.
  • Without media, and with a translucent or absent background color, the blur is applied to whatever lies behind the container (a “frosted glass” effect). On a plain page background this is not noticeable.
  • Blur never affects the text or the items.

Background media

The Background media field: No media items are selected, an Add media button, and the hint Optional image or video background for the container. One media item remaining.
The Background media field, below the Background group.
  1. Click Add media. The media library opens; pick an existing item or upload a new one.
  2. Three kinds of media are accepted: an Image, an uploaded Video file, or a Remote video (a YouTube or Vimeo link).
  3. Only one item can be selected. Use Remove next to it to choose another.

On the page:

  • The media is scaled to cover the whole container and is centered; parts of it are cropped when the container’s shape differs from the media’s. Give the container enough padding (top and bottom) so a reasonable part of the picture is visible.
  • Videos play automatically, muted and in a loop, without controls — they are decoration, not content. Keep them short and light; for anything the visitor should watch, use the Video component instead.
  • An image background can be given a scroll effect with Background Media Parallax.
  • Combine with Text color (white) and, if needed, Background blur for readability.

Recipes

LookSettings
Dark band with white headingBackground color #184D9B · Text color #FFFFFF · Exclude items · Padding 32px
Soft highlight behind a componentBackground color #F5F7FA (or a brand color at opacity 15) · Padding 24px · Border radius 8px
Photo hero with readable titleBackground media (image) · Text color #FFFFFF · Blur 4px · Padding 96px top/bottom
Ambient video behind a links gridBackground media (video) · Text color #FFFFFF · Include items · Padding 48px

Background Media Parallax

Background Media Parallax

Parallax makes a background image move a little more slowly than the page while the visitor scrolls, which gives the container a sense of depth. It is an optional effect for containers that have an image as Background media.

Before you start

  • The container must have a Background media of type Image. Parallax is not available for video backgrounds or for a plain background color.
  • The Background Media Parallax group (inside the Background group) only shows up once an image is selected. If you have just added the image and do not see the group, save the page and open the component again.
  • Give the container generous top and bottom padding (64px or more). The effect is invisible on a short container because there is not enough distance to scroll through.

The fields

The Background Media Parallax group with Enable parallax switched on, Parallax orientation set to Up, Parallax scale 1.4 and Parallax delay 1.
The parallax fields with their defaults, shown after switching Enable parallax on.
FieldDefaultMeaning
Enable parallax off Turns the effect on. The other three fields appear only when it is on.
Parallax orientation Up The direction the image drifts as the visitor scrolls down: Up (the classic effect), Down, Left or Right. Left and right give a subtle sideways slide.
Parallax scale 1.4 How much the image is enlarged so that it has room to move without showing empty edges. 1.0 means no enlargement (and almost no visible movement); 1.4 enlarges it by 40%; higher values move more but crop more of the picture. Stay between 1.2 and 1.8.
Parallax delay 1 How smoothly the image follows the scroll, in seconds. 0 makes it follow instantly; 1 adds a gentle easing; 2 or more feels floaty. Decimals are allowed (0.6).

How it behaves

  • The image is enlarged by the scale factor and shifted as the container moves through the viewport. When the container is in the middle of the screen the image is centered; at the top or bottom of the screen it is offset in the chosen orientation.
  • Because of the enlargement, the visible part of the picture is smaller than with a static background. Choose photos whose subject is near the center and avoid images that contain text.
  • Background blur and Text color work together with parallax. Background opacity does not affect the image.
  • If the visitor’s browser cannot run the effect, the image is shown as a normal static background — nothing breaks.
  • Parallax is decorative. Do not rely on it to convey information, and avoid stacking several parallax containers on one page; one hero at the top is usually enough.

Recipe: hero with parallax

SettingValue
ComponentLinks (two or three buttons) or Feature Box
Show Section TitleYes, with a short Intro Text
Padding120px top, 120px bottom, 32px left and right
Background mediaA wide landscape photo (at least 1920 pixels wide)
Text color#FFFFFF, Include items
Enable parallaxon; orientation Up; scale 1.4; delay 1
Target PlacementMain Content Top or Top region, to place it above the title

Color Style

Color Style

Color Style applies one of the site’s preset color palettes to a component — the accent color of a carousel’s arrows, the header bars of an accordion, the buttons of a links list. You pick a name; the exact colors are defined once by the site administrator so that every page stays consistent.

Where to find it

In the light-blue Config row of the card, on the components that have it. It is a drop-down of color names sorted alphabetically.

The Color Style drop-down expanded on a Feature Box, listing Black, Blue, Green, Orange, Red, Silver and Blue, Teal Blue and White.
Color Style options on a Feature Box (single-color palette).

Two palettes

There are two kinds of Color Style. They share the same field label, so the component decides which list you see.

Top: eight single-color swatches named Black, White, Teal Blue, Blue, Orange, Green, Red, Silver and Blue. Bottom: a table of multi-state styles, each with base, active, hover and title text swatches: Blue, Blue and Green, Gray, Green, Orange, Red, Teal Blue, Yellow Orange and Red, Fancy White.
The two palettes as configured on the demo site. Your site administrator may adjust the colors; the names stay the same.

Single-color styles

Used by Carousel, Feature Box, Image Gallery, Links, Profiles, Slideshow, Special List and Video. Each style is one accent color: Black, White, Teal Blue, Blue, Orange, Green, Red, Silver and Blue.

What the accent color is applied to depends on the component:

  • Carousel and Slideshow — the navigation controls (arrows, dots).
  • Image Gallery — the frame behind each thumbnail.
  • Special List — the list text and markers.
  • Feature Box, Links, Profiles, Video — the accent parts of each card, button or player, which vary with the display type chosen.

The component pages show exactly which parts change color for each display type. Feature Box, Links, Profiles and Special List also have a Color Style on each item, so one card or link can use a different accent than the rest.

Multi-state styles

Used by Accordion and Tabs (and by the items of Read More). These components have elements that react to the visitor — a header that is closed, open or hovered; a tab that is selected or not — so each style is a small set of colors:

ColorUsed for
BaseThe header or tab in its normal state.
ActiveThe open accordion panel header or the selected tab.
HoverThe header or tab under the mouse pointer.
Title textThe text printed on top of those backgrounds (white on dark styles, near-black on light ones).

Available styles: Blue, Blue and Green, Gray, Green, Orange, Red, Teal Blue, Yellow Orange and Red, Fancy White.

Color Style versus Container Settings

Color Style and Container Settings › Background answer different questions:

  • Color Style colors the parts of the component itself (arrows, headers, buttons) from a fixed palette.
  • Background in Container Settings colors the box around the component, with any color you like, and can also set the text color of the section title and intro.

They combine well: a Feature Box with the White Color Style on a dark blue container background is a common pattern.

Changing the palette

Editors cannot add colors from the component card. Site administrators maintain the two lists under Structure › Taxonomy › APB Color Styles 01 and APB Color Styles 02, where each entry has a name and its color values. Changing a color there updates every component that uses that style.

Advanced settings

Advanced settings

Two settings you will rarely need day to day: Custom Class, a hook for designers, and Access Control, which shows a component only to visitors with certain roles.

Custom Class

Custom Class is the last field of the light-blue Config row. It is a plain text field that adds a CSS class name to the component’s outer wrapper on the page.

The Config row of an Accordion: Target Placement, Color Style, Component Width and an empty Custom Class text field, followed by the Open first item switch.
Custom Class is the last field of the Config row.
  • Leave it empty unless a designer or developer asks you to type something specific. On its own, a class name changes nothing; it only works when the site theme contains a matching style rule.
  • Type only what you were given, for example highlight-box or compact spaced. Class names contain letters, digits and hyphens; several names are separated by spaces.
  • Typical uses: a one-off spacing tweak, a special background pattern, hiding the component in print, or hooking a component for site analytics.
  • Do not use Custom Class to fix layout problems you can solve with Component Width, Columns or Container Settings.

Access Control

Access Control restricts who can see a component according to the visitor’s user role. It is a collapsed section of the component card, below the items.

Access Control is not enabled on every component or on every site. On the demo site it currently appears on the Image Gallery only; ask your administrator if you need it elsewhere.

The Access Control section expanded: a choice between Allow the selected below and Restrict the selected below, then role checkboxes for Anonymous user, Authenticated user, Content editor and Administrator, with the note that if no roles are selected access falls back to neutral.
The Access Control section on an Image Gallery.

How it works

  1. Choose the mode:
    • Allow the selected below — only visitors who have at least one of the ticked roles see the component.
    • Restrict the selected below — visitors who have any of the ticked roles do not see the component; everyone else does.
  2. Tick one or more roles. The roles are combined with OR: having any one of them is enough.
  3. If you tick no role, the setting is neutral and the component is visible to everyone, whatever the mode.

The check applies to viewing only. Editing permissions are unchanged, and users who hold the site-wide permission to bypass this kind of restriction (typically administrators) still see the component.

Examples

GoalModeRoles ticked
Members-only download linksAllow the selected belowAuthenticated user (plus any member roles)
A “Log in to see more” teaser shown only to visitors who are not logged inAllow the selected belowAnonymous user
Hide a draft component from the public while editors review itAllow the selected belowContent editor, Administrator
Hide an internal notice from anonymous visitorsRestrict the selected belowAnonymous user

Tips

  • Access Control hides the component entirely, including its section title. If you want a visible placeholder, add a second component with the opposite rule (for example an anonymous-only “Log in to see this content” text).
  • Remember that Published (see Section Title and Intro Text) is the simpler tool when you just want to hide a component from everyone.
  • When checking the result, log out or use a private browser window: as an editor or administrator you will usually see everything.