diff --git a/css/style.css b/css/style.css index a3ad86d..fd33970 100644 --- a/css/style.css +++ b/css/style.css @@ -47,9 +47,7 @@ button.single_add_to_cart_button, .mep-events-wrapper .mage_input_group{display: -webkit-flex;display: flex;} .mep-default-content div.mep-default-feature-date-location>div, .mep_spring_date>div, -.bristol_divided>div, -.mep_event_list_sec>div, -div.mep_event_list div.mage_grid_box>div{-webkit-flex: 1;flex: 1;} +.bristol_divided>div{-webkit-flex: 1;flex: 1;} .mep-default-theme div.mep-default-feature-date, .mep-default-theme div.mep-default-feature-time, .mep-default-theme div.mep-default-feature-location, @@ -370,6 +368,12 @@ div.mep-default-feature-content p { margin: 15px 0; line-height: 20px; } +.mep-events-wrapper p:not(.mep-events-wrapper .mep-default-feature-content p){ + line-height: 1.2; + margin: 0; + padding: 0; + letter-spacing: inherit; +} /******Responsive*******/ @media only screen and (max-width: 1199px) { @@ -498,4 +502,19 @@ div.mep-default-feature-content p { div.bristol_center_box{display: block;border: 1px solid #ddd;} .bristol .mep-default-sidrbar-calender-btn{margin: 0;padding: 20px 0;border-top: 1px solid #ddd;} .bristol ul#mep_add_calender_links{width: 200px;} +} +div.mep_event_list div.mage_grid_box{-webkit-flex-wrap: wrap;flex-wrap: wrap;} +div.one_column{width:100%;margin: 0 0 15px 0;} +div.two_column{width:calc(50% - 15px);margin: 0 15px 15px 0;} +div.three_column{width:calc(33.33% - 15px);margin: 0 15px 15px 0;} +div.four_column{width:calc(25% - 15px);margin: 0 15px 15px 0;} +@media only screen and (max-width: 800px) { + div.two_column{width:calc(50% - 15px);margin: 0 15px 15px 0;} + div.three_column{width:calc(50% - 15px);margin: 0 15px 15px 0;} + div.four_column{width:calc(50% - 15px);margin: 0 15px 15px 0;} +} +@media only screen and (max-width: 500px) { + div.two_column, + div.three_column, + div.four_column{width:100%;margin: 0 0 15px 0;} } \ No newline at end of file diff --git a/inc/admin_setting_panel.php b/inc/admin_setting_panel.php index 54b6331..dd524ae 100644 --- a/inc/admin_setting_panel.php +++ b/inc/admin_setting_panel.php @@ -96,6 +96,7 @@ class MAGE_Events_Setting_Controls { 'default' => 'no', 'options' => mep_event_template_name() ), + array( 'name' => 'mep_event_price_show', 'label' => __( 'Show Event Price in List?', 'mage-eventpress' ), @@ -106,7 +107,21 @@ class MAGE_Events_Setting_Controls { 'yes' => 'Yes', 'no' => 'No' ) - ), + ), + + array( + 'name' => 'mep_event_product_type', + 'label' => __( 'Enable Shipping Method on event?', 'mage-eventpress' ), + 'desc' => __( 'Please Select The event product type which is using in WooCommerce, By default its virtual. If you change this type you need to re-save all the event again.', 'mage-eventpress' ), + 'type' => 'select', + 'default' => 'yes', + 'options' => array( + 'yes' => 'No', + 'no' => 'Yes' + ) + ), + + // array( // 'name' => 'mep_event_slug', // 'label' => __( 'Event Slug', 'mage-eventpress' ), @@ -114,6 +129,7 @@ class MAGE_Events_Setting_Controls { // 'type' => 'text', // 'default' => 'events' // ), + array( 'name' => 'event-price-label', 'label' => __( 'Event Price Label', 'mage-eventpress' ), diff --git a/inc/mep_addon_list.php b/inc/mep_addon_list.php index a1f2cba..13cd71b 100644 --- a/inc/mep_addon_list.php +++ b/inc/mep_addon_list.php @@ -65,6 +65,7 @@ function mep_addon_list_sec(){ 0){ echo '
'; +} } \ No newline at end of file diff --git a/inc/mep_event_meta.php b/inc/mep_event_meta.php index 73a7f9a..86e2b44 100644 --- a/inc/mep_event_meta.php +++ b/inc/mep_event_meta.php @@ -50,7 +50,7 @@ function mep_event_reset_booking_count($post){ wp_nonce_field( 'mep_event_reset_btn_nonce', 'mep_event_reset_btn_nonce' ); ?>
-
ID); ?>
+
ID); ?>