Skip to content

Commit

Permalink
Adding margins to buttons on form-login
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Moraes committed Oct 19, 2018
1 parent 18264b6 commit c4cc942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions woocommerce/myaccount/form-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@

<div class="woocommerce-FormRow form-row">
<?php wp_nonce_field( 'woocommerce-register', 'woocommerce-register-nonce' ); ?>
<button type="submit" class="woocommerce-Button button is-success is-medium is-fullwidth" name="register" value="<?php esc_attr_e( 'Register', 'woocommerce' ); ?>"><?php esc_html_e( 'Register', 'woocommerce' ); ?></button>
<button type="submit" style="margin-top: 10px;" class="woocommerce-Button button is-success is-medium is-fullwidth" name="register" value="<?php esc_attr_e( 'Register', 'woocommerce' ); ?>"><?php esc_html_e( 'Register', 'woocommerce' ); ?></button>
</div>

<?php do_action( 'woocommerce_register_form_end' ); ?>
Expand Down Expand Up @@ -181,7 +181,7 @@

<div class="form-row">
<?php wp_nonce_field( 'woocommerce-login', 'woocommerce-login-nonce' ); ?>
<button type="submit" class="woocommerce-Button button is-info is-medium is-fullwidth" name="login" value="<?php esc_attr_e( 'Log in', 'woocommerce' ); ?>"><?php esc_html_e( 'Log in', 'woocommerce' ); ?></button>
<button type="submit" style="margin-top: 10px; margin-bottom: 15px;" class="woocommerce-Button button is-info is-medium is-fullwidth" name="login" value="<?php esc_attr_e( 'Log in', 'woocommerce' ); ?>"><?php esc_html_e( 'Log in', 'woocommerce' ); ?></button>
<label class="woocommerce-form__label woocommerce-form__label-for-checkbox inline">
<input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /> <span><?php esc_html_e( 'Remember me', 'woocommerce' ); ?></span>
</label>
Expand Down

0 comments on commit c4cc942

Please sign in to comment.