]> _ Git - physioassist-wordpress.git/commitdiff
wait #6564 @0:05
authorsoufiane <soufiane@cubedesigners.com>
Tue, 9 Jan 2024 13:28:23 +0000 (14:28 +0100)
committersoufiane <soufiane@cubedesigners.com>
Tue, 9 Jan 2024 13:28:23 +0000 (14:28 +0100)
wp-content/mu-plugins/physioassist/src/Elementor/Widgets/FluxPostCarousel.php

index c9605dac71a78caa75b0a6ab6e56f0aa62658b96..0e374b40c0e5bf863bdd4733bda66d6452711305 100644 (file)
@@ -100,124 +100,6 @@ class FluxPostCarousel extends Widget_Base {
         );
 
         $this->end_controls_section();
-
-
-        $this->start_controls_section(
-            'section_formatting',
-            [
-                'label' => __( 'Colours & Formatting', 'cube' ),
-            ]
-        );
-
-
-        $this->add_control(
-            'title_color',
-            [
-                'label' => __( 'Title Colour', 'cube' ),
-                'type' => Controls_Manager::COLOR,
-                'default' => '',
-                'selectors' => [
-                    '{{WRAPPER}} .text-block-title' => 'color: {{VALUE}};',
-                ],
-            ]
-        );
-
-
-        $this->add_control(
-            'subtitle_color',
-            [
-                'label' => __( 'Subtitle Colour', 'cube' ),
-                'type' => Controls_Manager::COLOR,
-                'default' => '',
-                'selectors' => [
-                    '{{WRAPPER}} .text-block-subtitle' => 'color: {{VALUE}};',
-                ],
-            ]
-        );
-
-
-        $this->add_control(
-            'body_color',
-            [
-                'label' => __( 'Body Colour', 'cube' ),
-                'type' => Controls_Manager::COLOR,
-                'default' => '',
-                'selectors' => [
-                    '{{WRAPPER}} .text-block-body' => 'color: {{VALUE}};',
-                ],
-            ]
-        );
-
-
-        $this->add_control(
-            'cta_color',
-            [
-                'label' => __( 'Call to Action Colour', 'cube' ),
-                'type' => Controls_Manager::COLOR,
-                'default' => '',
-                'selectors' => [
-                    '{{WRAPPER}} .text-block-cta' => 'color: {{VALUE}};',
-                ],
-            ]
-        );
-
-
-        $this->add_responsive_control(
-            'align',
-            [
-                'label' => __( 'Alignment', 'elementor' ),
-                'type' => Controls_Manager::CHOOSE,
-                'options' => [
-                    'left' => [
-                        'title' => __( 'Left', 'elementor' ),
-                        'icon' => 'fa fa-align-left',
-                    ],
-                    'center' => [
-                        'title' => __( 'Center', 'elementor' ),
-                        'icon' => 'fa fa-align-center',
-                    ],
-                    'right' => [
-                        'title' => __( 'Right', 'elementor' ),
-                        'icon' => 'fa fa-align-right',
-                    ],
-                    'justify' => [
-                        'title' => __( 'Justified', 'elementor' ),
-                        'icon' => 'fa fa-align-justify',
-                    ],
-                ],
-                'default' => '',
-                'selectors' => [
-                    '{{WRAPPER}}' => 'text-align: {{VALUE}}; margin: 0 auto;',
-                ],
-            ]
-        );
-
-        $this->add_control(
-            'max-width',
-            [
-                'label' => __( 'Maximum Width', 'cube' ),
-                'type' => Controls_Manager::SLIDER,
-                // 'default' => [
-                //     'size' => 400,
-                // ],
-                'range' => [
-                    'px' => [
-                        'min' => 400,
-                        'max' => 1600,
-                        'step' => 10,
-                    ],
-                    '%' => [
-                        'min' => 0,
-                        'max' => 100,
-                    ],
-                ],
-                'selectors' => [
-                    '{{WRAPPER}} .text-block' => 'max-width: {{SIZE}}{{UNIT}};',
-                ],
-            ]
-        );
-
-        $this->end_controls_section();
     }
     /**
      * Render the widget output on the frontend.