Setup wizard: Style Jetpack logo

This commit is contained in:
Valerie 2017-09-22 00:39:47 +03:00 committed by Jeff Stieler
parent 24e3db78ec
commit 426c0c2743
2 changed files with 11 additions and 1 deletions

View File

@ -696,3 +696,9 @@ h3.jetpack-reasons {
margin: 3em 0 1em 0;
font-size: 14px;
}
.jetpack-logo {
display: block;
margin: 1.75em auto 2em auto;
max-height: 175px;
}

View File

@ -1303,8 +1303,12 @@ class WC_Admin_Setup_Wizard {
<?php if ( $description ) : ?>
<p><?php echo esc_html( $description ); ?></p>
<?php endif; ?>
<img
class="jetpack-logo"
src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/jetpack-green-logo.svg' ); ?>"
alt="Jetpack logo"
/>
<div>
<img src="<?php echo esc_url( WC()->plugin_url() . '/assets/images/jetpack-green-logo.svg' ); ?>" alt="Jetpack" />
<input type="submit" class="button-primary button button-large button-jetpack-connect" value="<?php esc_attr_e( 'Connect with Jetpack', 'woocommerce' ); ?>" />
<input type="hidden" name="save_step" value="activate" />