Skip to content

Commit

Permalink
Tweak: Flex Hero layout [TMZ-351] (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuritsha authored Feb 2, 2025
1 parent e7627d1 commit e4bdcf1
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions modules/content/widgets/flex-hero.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ protected function add_style_layout_section() {
'columns' => 1,
'options' => [
'showcase' => [
'title' => esc_html__( 'Highlight key concepts with a balanced layout.', 'hello-plus' ),
'title' => esc_html__( 'Showcase: Highlight key concepts with a balanced layout.', 'hello-plus' ),
'image' => HELLOPLUS_IMAGES_URL . 'showcase.svg',
'hover_image' => true,
],
'storytelling' => [
'title' => esc_html__( 'Focus on a narrative with supporting visuals.', 'hello-plus' ),
'title' => esc_html__( 'Storytelling: Focus on a narrative with supporting visuals.', 'hello-plus' ),
'image' => HELLOPLUS_IMAGES_URL . 'storytelling.svg',
'hover_image' => true,
],
Expand All @@ -257,31 +257,6 @@ protected function add_style_layout_section() {
]
);

$this->add_control(
'layout_preset_showcase_info',
[
'type' => Controls_Manager::ALERT,
'alert_type' => 'info',

'content' => esc_html__( 'Highlight key concepts with a balanced layout.', 'hello-plus' ),
'condition' => [
'layout_preset' => 'showcase',
],
]
);

$this->add_control(
'layout_preset_storytelling_info',
[
'type' => Controls_Manager::ALERT,
'alert_type' => 'info',
'content' => esc_html__( 'Focus on a narrative with supporting visuals.', 'hello-plus' ),
'condition' => [
'layout_preset' => 'storytelling',
],
]
);

$this->add_responsive_control(
'layout_image_position',
[
Expand Down

0 comments on commit e4bdcf1

Please sign in to comment.