Components/Layout/MarketingPage/MarketingPageLayoutContent
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/marketingpagelayoutcontent
Marketing page layout content is an internal component used to display content of <MarketingPageLayout/>.
<MarketingPage/>.<MarketingPage/>.<Card/>. Use <MarketingLayout/> instead.The component consists of `outline`, `title`, `subtitle`, `content` and `actions` areas. Each area is optional and highly customizable.
Adjust the size of the content with `size` prop. It supports two sizes:
 - `large` (default) - use it in larger screens sizes.
 - `medium` - use it in smaller screen sizes.
Read more about screen sizes in <MarketingPageLayout/>.
This component is highly customizable and supports complex layouts. This example shows how to add a bulleted list to the content area and a footnote to the actions area.
<MarketingPageLayoutContent/> should be used as a building part of a marketing page.
| Name | Type | Default | Description |
|---|---|---|---|
actions | ReactNode | — | Adds a container for page actions. Accepts single or multiple components. Most commonly contains <Button/> and <TextButton/>. |
content | ReactNode | — | Sets the main content. Accepts a text paragraph or any custom elements. |
dataHook | string | — | Applies a data-hook HTML attribute that can be used in tests. |
overline | ReactNode | — | Set overline content. Accepts text string or a custom element. |
size | "medium" | "large" | — | Controls the size of the marketing page layout content. |
subtitle | ReactNode | — | Set pages layout subtitle. Accepts text string or a custom element. |
title | ReactNode | — | Set the page layout title. Accepts text string or a custom element. |
Import the driver matching your test environment:
| Method | Description |
|---|---|
hasOverline | Checks whether overline exists |
getOverlineText | Gets the overline text |
hasTitle | Checks whether title exists |
getTitleText | Gets the title text |
hasSubtitle | Checks whether subtitle exists |
getSubtitleText | Gets the subtitle text |
hasContent | Checks whether content exists |
getContentText | Gets the content text |
hasActions | Checks whether actions exist |
childExists | Checks whether a node with the provided predicate exists |
exists | Checks whether the component found with the given data hook. |
element | Gets the component root element. |
click | Clicks on the component root element. |
base | Returns UniDriver for the base element. |
Last updated: 21 October 2026