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 |
Number | Set the minimum font size (in pixels). |
title_custom_relative_size |
2 |
Number | Set the relative font size (depends on viewport's width). |
x_depth |
0 |
Number | The movement applied to this layer on the X axis will be multiplied by the value specified here. |
y_depth |
0 |
Number | The movement applied to this layer on the Y axis will be multiplied by the value specified here. |
device_visibility |
— | String unless stated otherwise | Applies the selected responsive visibility rule. |
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
Content between the opening and closing tags is processed as WordPress shortcode content. Keep the parent/child structure shown by the visual builder so nested components receive the context they expect.
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.