diff --git a/assets/css/admin.scss b/assets/css/admin.scss index 6ea357b8e2a..921e2fe3ba6 100644 --- a/assets/css/admin.scss +++ b/assets/css/admin.scss @@ -154,11 +154,23 @@ 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; + background: none; + border: none; + + .addons-img { + max-height: 100%; + max-width: 100%; + } + } } .addons-promotion-block { @@ -219,8 +231,27 @@ margin-bottom: 0; } + .wcs-logos-container { + display: flex; + align-items: center; + flex-direction: row; + justify-content: center; + + @media screen and (min-width: 500px) { + justify-content: left; + } + + li { + margin-right: 8px; + + &:last-child { + margin-right: 0; + } + } + } + .wcs-service-logo { - max-width: 40px; + max-width: 45px; } } diff --git a/assets/images/wcs-dhlexpress-logo.png b/assets/images/wcs-dhlexpress-logo.png new file mode 100644 index 00000000000..45eaa8ac0ff 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..1a7d72c612e 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/assets/images/wcs-usps-logo.png b/assets/images/wcs-usps-logo.png index 04184bf2bbc..4f331e84ff7 100644 Binary files a/assets/images/wcs-usps-logo.png and b/assets/images/wcs-usps-logo.png differ diff --git a/includes/admin/class-wc-admin-addons.php b/includes/admin/class-wc-admin-addons.php index 96f2569cbf9..1f3775e956a 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(), @@ -412,6 +412,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', + ), ) ), ); @@ -423,7 +427,7 @@ class WC_Admin_Addons { $block_data = array_merge( $defaults, $local_defaults, $block ); ?>