diff --git a/css/style.css b/css/style.css index 0816cd6..dbe7522 100644 --- a/css/style.css +++ b/css/style.css @@ -700,9 +700,9 @@ margin: 0px 0 3px 0; } h3.ex-sec-title { text-align: left; - font-size: 20px; - margin: 20px 0 -5px 0; - padding: 0!important; + font-size: 18px; + margin: 20px 0 -11px 0; + padding: 5px!important; } .user-info-sec .dada-info .mep-user-info-sec { overflow: hidden; @@ -988,6 +988,21 @@ label.mep-show { text-align: right; padding-right: 20px; } +.mep-tem3-mid-sec .btn-mep-event-cart, .mep-template-2-hamza .btn-mep-event-cart { + padding: 7px 0!important; + margin: 0; +} + +.tmep-emplate-3-faq-sec .mep-event-faq-part h4 { + padding: 8px 5px; + font-size: 18px; + margin-bottom: 0px; +} + + + + + .equinox .week-events .slot { margin: 0; list-style: none; diff --git a/inc/admin_setting_panel.php b/inc/admin_setting_panel.php index 4f0285f..b29d66e 100644 --- a/inc/admin_setting_panel.php +++ b/inc/admin_setting_panel.php @@ -42,6 +42,10 @@ class MAGE_Events_Setting_Controls { 'id' => 'email_setting_sec', 'title' => __( 'Email Settings', 'mep' ) ), + array( + 'id' => 'style_setting_sec', + 'title' => __( 'Style Settings', 'mep' ) + ), array( 'id' => 'label_setting_sec', 'title' => __( 'Label Settings', 'mep' ) @@ -159,7 +163,71 @@ class MAGE_Events_Setting_Controls { ), ), - +'style_setting_sec' => array( + array( + 'name' => 'mep_base_color', + 'label' => __( 'Base Color', 'mep' ), + 'desc' => __( 'Select a Basic Color, It will chanage the icon background color, border color', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_title_bg_color', + 'label' => __( 'Label Background Color', 'mep' ), + 'desc' => __( 'Select a Color Label Background', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_title_text_color', + 'label' => __( 'Label Text Color', 'mep' ), + 'desc' => __( 'Select a Color Label Text', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_cart_btn_bg_color', + 'label' => __( 'Cart Button Background Color', 'mep' ), + 'desc' => __( 'Select a color for Cart Button Background', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_cart_btn_text_color', + 'label' => __( 'Cart Button Text Color', 'mep' ), + 'desc' => __( 'Select a color for Cart Button Text', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_calender_btn_bg_color', + 'label' => __( 'Calender Button Background Color', 'mep' ), + 'desc' => __( 'Select a color for Calender Button Background', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_calender_btn_text_color', + 'label' => __( 'Calender Button Text Color', 'mep' ), + 'desc' => __( 'Select a color for Calender Button Text', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_faq_title_bg_color', + 'label' => __( 'FAQ Title Background Color', 'mep' ), + 'desc' => __( 'Select a color for FAQ title Background', 'mep' ), + 'type' => 'color', + + ), + array( + 'name' => 'mep_faq_title_text_color', + 'label' => __( 'FAQ Title Text Color', 'mep' ), + 'desc' => __( 'Select a color for FAQ Title Text', 'mep' ), + 'type' => 'color', + + ), + ) ); @@ -201,8 +269,10 @@ $settings = new MAGE_Events_Setting_Controls(); function mep_get_option( $option, $section, $default = '' ) { $options = get_option( $section ); + if ( isset( $options[$option] ) ) { return $options[$option]; } + return $default; } \ No newline at end of file diff --git a/inc/mep_user_custom_style.php b/inc/mep_user_custom_style.php new file mode 100644 index 0000000..d1bf4d2 --- /dev/null +++ b/inc/mep_user_custom_style.php @@ -0,0 +1,56 @@ + + +