web_parallax_layer_text Shortcode
The web_parallax_layer_text shortcode renders the parallax scene layer CTA component.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Allowed parent shortcodes: web_parallax_scene.
Usage
[web_parallax_layer_text]
Content
[/web_parallax_layer_text]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
title_text |
— | String unless stated otherwise | Enter title text. |
title_text_second |
— | String unless stated otherwise | Controls the title second line text. |
title_color |
15 |
String unless stated otherwise | Choose title text color. |
text_shadow |
— | yes |
Controls the add text shadow?. |
text_shadow_color |
— | String unless stated otherwise | Controls the text shadow color. Available when text_shadow is yes. |
button_text |
— | String unless stated otherwise | Sets the visible button label. |
button_url |
— | String unless stated otherwise | Controls the button url. |
button_color |
2 |
String unless stated otherwise | Controls the button color. |
button_text_color |
11 |
String unless stated otherwise | Controls the button text color. |
gap_space |
125 |
075, 125, 2, 3, 4, 8, 12 |
Selects the matching 0.75, 1.25, 2, 3, 4, 8, or 12rem gap before the heading. |
title_custom_min_size |
14 |
10–200 | Set the minimum font size (in pixels). |
title_custom_relative_size |
2 |
0–50 | Set the relative font size (depends on viewport's width). |
x_depth |
0 |
-1 to 1; 0.01 steps | The movement applied to this layer on the X axis will be multiplied by the value specified here. |
y_depth |
0 |
-1 to 1; 0.01 steps | The movement applied to this layer on the Y axis will be multiplied by the value specified here. |
el_id |
— | Valid unique HTML ID | Enter scene ID (Note: make sure it is unique and valid, according to w3c specification). |
el_class |
— | String unless stated otherwise | If you wish to style a particular content element differently, then use this field to add a class name and then refer to it in your CSS file. |
Enclosed content
This variant uses its title and button attributes; it does not render enclosed content. Title text supports basic emphasis, line breaks and superscript/subscript. Button labels are plain text.
Verification
Keep web_parallax_layer_text inside web_parallax_scene; verify the child order and the parent interaction on the public page. Pay particular attention to title_text and title_text_second.
Palette values identify slots 1–15. The button is rendered only with both a label and a valid destination. The fluid size is the pixel base plus the viewport-width contribution; Gutenberg expresses the equivalent base in rem through its layer heading controls.