1
I’ve tried a lot of things and can not at all align to the center this "forgot password" wordpress button of the login page.
wp-login full: https://pastebin.com/7RBesXpG
<?php if ( ! $interim_login ) { ?>
<p class="button button-primary button-large">
<?php if ( ! isset( $_GET['checkemail'] ) || ! in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ) ) ) :
if ( get_option( 'users_can_register' ) ) :
$registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
/** This filter is documented in wp-includes/general-template.php */
echo apply_filters( 'register', $registration_url );
echo esc_html( $login_link_separator );
endif;
?>
<a style="color: #FFFFFF" href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php _e( 'Lost your password?' ); ?></a>
<?php endif; ?>
</p>
<?php } ?>
Try:
.button .button-primary .button-large { text-align:center !important; }
It’s kind of hard to understand what you want... It has how to post an image of where the BTN is and where you wanted it to be?– hugocsl
It didn’t work, I added an image.
– Daniel Fortunato
wp-full login: https://pastebin.com/7RBesXpG
– Daniel Fortunato