From 9b8e62f36c2d885e3ac796c9ab40856af6336dcd Mon Sep 17 00:00:00 2001 From: Lieu Le Date: Fri, 13 Dec 2019 11:25:29 +0700 Subject: [PATCH] Fix slider CSS --- assets/opalestate.css | 9 +++++---- assets/scss/opalestate/_properties-loop.scss | 19 +++++++++++++++++++ ...class-opalestate-elementor-widget-base.php | 1 + 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/assets/opalestate.css b/assets/opalestate.css index 73b7aaad..d4f252dc 100755 --- a/assets/opalestate.css +++ b/assets/opalestate.css @@ -2665,6 +2665,11 @@ header:hover .property-bg-thumbnail a { background: #02ce76; color: #FFF; } +.opalesate-property-collection .elementor-slick-slider-row.slick-arrows-inside .slick-arrow { + top: 50% !important; } + .opalesate-property-collection .elementor-slick-slider-row.slick-arrows-inside .slick-arrow.slick-prev { + left: 0; } + .opalestate_agency { margin-bottom: 30px; } @@ -3997,7 +4002,3 @@ header#masthead { background: #2f73e9; position: absolute; top: 0; } - - .opalestate-notice { - padding: 10px; - } diff --git a/assets/scss/opalestate/_properties-loop.scss b/assets/scss/opalestate/_properties-loop.scss index 805986b6..e4cfbc2d 100755 --- a/assets/scss/opalestate/_properties-loop.scss +++ b/assets/scss/opalestate/_properties-loop.scss @@ -651,3 +651,22 @@ header{ } } } + +.opalesate-property-collection { + .elementor-slick-slider-row { + &.slick-arrows-default {} + &.slick-arrows-outside { + .slick-arrow { + + } + } + &.slick-arrows-inside { + .slick-arrow { + top: 50% !important; + &.slick-prev { + left:0; + } + } + } + } +} diff --git a/inc/vendors/elementor/class-opalestate-elementor-widget-base.php b/inc/vendors/elementor/class-opalestate-elementor-widget-base.php index 582414ae..d7992d1e 100755 --- a/inc/vendors/elementor/class-opalestate-elementor-widget-base.php +++ b/inc/vendors/elementor/class-opalestate-elementor-widget-base.php @@ -356,6 +356,7 @@ abstract class Opalestate_Elementor_Widget_Base extends Widget_Base { 'type' => Controls_Manager::SELECT, 'default' => 'inside', 'options' => [ + 'default' => esc_html__( 'Default', 'opalestate-pro' ), 'inside' => esc_html__( 'Inside', 'opalestate-pro' ), 'outside' => esc_html__( 'Outside', 'opalestate-pro' ), ],