diff --git a/assets/css/admin.scss b/assets/css/admin.scss index 6ea357b8e2a..31153429a2f 100644 --- a/assets/css/admin.scss +++ b/assets/css/admin.scss @@ -154,11 +154,21 @@ border: 1px solid #e6e6e6; margin-right: 2em; padding: 4em; + max-width: 200px; .addons-img { max-height: 86px; max-width: 97px; } + + &.is-full-image { + padding: 0; + + .addons-img { + max-height: 100%; + max-width: 100%; + } + } } .addons-promotion-block { @@ -219,6 +229,20 @@ margin-bottom: 0; } + .wcs-logos-container { + display: flex; + align-items: center; + flex-direction: row; + + li { + margin-right: 8px; + + &:last-child { + margin-right: 0; + } + } + } + .wcs-service-logo { max-width: 40px; } diff --git a/assets/images/wcs-dhlexpress-logo.png b/assets/images/wcs-dhlexpress-logo.png new file mode 100644 index 00000000000..8072870d1fb Binary files /dev/null and b/assets/images/wcs-dhlexpress-logo.png differ diff --git a/assets/images/wcs-extensions-banner-3x.jpg b/assets/images/wcs-extensions-banner-3x.jpg new file mode 100644 index 00000000000..e265f31000c Binary files /dev/null and b/assets/images/wcs-extensions-banner-3x.jpg differ diff --git a/assets/images/wcs-extensions-banner-3x.png b/assets/images/wcs-extensions-banner-3x.png deleted file mode 100644 index 0b81938fbd1..00000000000 Binary files a/assets/images/wcs-extensions-banner-3x.png and /dev/null differ diff --git a/includes/admin/class-wc-admin-addons.php b/includes/admin/class-wc-admin-addons.php index ff33de129e0..a4c1a9db161 100644 --- a/includes/admin/class-wc-admin-addons.php +++ b/includes/admin/class-wc-admin-addons.php @@ -393,10 +393,10 @@ class WC_Admin_Addons { ); $defaults = array( - 'image' => WC()->plugin_url() . '/assets/images/wcs-extensions-banner-3x.png', + 'image' => WC()->plugin_url() . '/assets/images/wcs-extensions-banner-3x.jpg', 'image_alt' => __( 'WooCommerce Shipping', 'woocommerce' ), - 'title' => __( 'Buy discounted shipping labels — then print them from your dashboard.', 'woocommerce' ), - 'description' => __( 'Integrate your store with USPS to buy discounted shipping labels, and print them directly from your WooCommerce dashboard. Powered by WooCommerce Shipping.', 'woocommerce' ), + 'title' => __( 'Save time and money with WooCommerce Shipping', 'woocommerce' ), + 'description' => __( 'Print discounted USPS and DHL labels straight from your WooCommerce dashboard and save on shipping.', 'woocommerce' ), 'button' => __( 'Free - Install now', 'woocommerce' ), 'href' => $button_url, 'logos' => array(), @@ -428,6 +428,10 @@ class WC_Admin_Addons { 'link' => WC()->plugin_url() . '/assets/images/wcs-usps-logo.png', 'alt' => 'USPS logo', ), + array( + 'link' => WC()->plugin_url() . '/assets/images/wcs-dhlexpress-logo.png', + 'alt' => 'DHL Express logo', + ), ) ), ); @@ -439,7 +443,7 @@ class WC_Admin_Addons { $block_data = array_merge( $defaults, $local_defaults, $block ); ?>