Skip to content

Commit

Permalink
Tweak: Conversion center - Contact button - Bubble style controls
Browse files Browse the repository at this point in the history
  • Loading branch information
willhowat committed Jun 7, 2024
1 parent a94db1e commit b5f0af7
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions modules/conversion-center/base/widget-contact-button-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -1630,22 +1630,10 @@ protected function add_style_message_bubble_section(): void {
);

if ( $config['style']['message_bubble_section']['has_chat_background'] ) {
$this->add_control(
'style_bubble_chat_heading',
[
'label' => esc_html__( 'Chat Background', 'elementor' ),
'type' => Controls_Manager::HEADING,
'separator' => false,
'condition' => $this->get_platform_color_condition( [
'style_bubble_colors' => 'custom',
] ),
]
);

$this->add_control(
'style_bubble_chat_color',
[
'label' => esc_html__( 'Color', 'elementor' ),
'label' => esc_html__( 'Chat Background Color', 'elementor' ),
'type' => Controls_Manager::COLOR,
'selectors' => [
'{{WRAPPER}} .e-contact-buttons' => '--e-contact-buttons-message-bubble-chat-bg: {{VALUE}}',
Expand Down

0 comments on commit b5f0af7

Please sign in to comment.