Hello!
I need to modify the location of the Google Login in the drop-down window of my account so that it appears as the first option.
Attached capture.
This topic has 8 replies, 2 voices, and was last updated 7 months, 3 weeks ago ago by Luca Rossi
Hello!
I need to modify the location of the Google Login in the drop-down window of my account so that it appears as the first option.
Attached capture.
Hi @LVRB Love’s Rebel,
Please try adding this custom CSS codes under Xstore > Theme Options > Theme Custom CSS > Global CSS:
form.woocommerce-form.et_b-tab-content.woocommerce-form-login.login.active,
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active {
display: flex !important;
flex-direction: column;
}
.woocommerce-form-login .woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide {
order: 0;
}
form.woocommerce-form.et_b-tab-content.woocommerce-form-login.login.active .text-center.et-or-wrapper,
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active .text-center.et-or-wrapper{
order: -1;
margin-bottom: 25px;
}
form.woocommerce-form.et_b-tab-content.woocommerce-form-login.login.active .et-google-login-wrapper.text-center,
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active .et-google-login-wrapper.text-center{
order: -2;
margin-top: 15px;
}
form.woocommerce-form.et_b-tab-content.woocommerce-form-login a.lost-password {
width: 100% !important;
text-align: right;
margin-bottom: -20px;
}
Hope it helps!
Hello!
Thanks for the code. It worked to change the position of the start with google in the pop-up window but it modifies the previous code I had so that from the my account panel it appears in the first position as well.
The idea is that in both ways of entering the login it appears in the first option.
The code used previously is this:
/* LOGIN GOOGLE PRIMERO */
.woocommerce-form-login {
display: flex;
flex-direction: column;
}
.woocommerce-form-login .et-or-wrapper {
order: 2;
}
.woocommerce-form-login .lost_password.dt-hide {
order: 1;
}
.woocommerce-form-login .woocommerce-form-row.woocommerce-form-row–wide.form-row.form-row-wide {
order: 3;
}
.woocommerce-form-login .woocommerce-form-row.woocommerce-form-row–wide.form-row.form-row-wide {
order: 4;
}
.woocommerce-form-login .form-row.form-row-wide.flex.justify-content-between.align-center.lost_password.flex-wrap {
order: 5;
}
.woocommerce-form-login .woocommerce-form-row.woocommerce-form-row–wide.form-row.form-row-wide.m0 {
order: 6;
}
.woocommerce-form-login .text-center.lost_password.dt-hide {
order: 7;
}
Can you generate a code that works with both options please?
Dear Love’s Rebel Team,
We hope this message finds you well.
Could you kindly disable the “Under Construction” mode temporarily? We would like to review the “My Account” page.
Thank you for your assistance.
Best regards,
8Theme Team
The site to check is the live one, not the test.
I send you the accesses in the private area.
Hi @LVRB Love’s Rebel,
Please use this custom CSS code so it won’t affect the my account page:
form.woocommerce-form.et_b-tab-content.woocommerce-form-login.login.active,
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active {
display: flex !important;
flex-direction: column;
}
.et_b-tabs-wrapper .woocommerce-form-login .woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide {
order: 0;
}
form.woocommerce-form.et_b-tab-content.woocommerce-form-login.login.active .text-center.et-or-wrapper,
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active .text-center.et-or-wrapper{
order: -1;
margin-bottom: 25px;
}
form.woocommerce-form.et_b-tab-content.woocommerce-form-login.login.active .et-google-login-wrapper.text-center,
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active .et-google-login-wrapper.text-center{
order: -2;
margin-top: 15px;
}
form.woocommerce-form.et_b-tab-content.woocommerce-form-login a.lost-password {
width: 100% !important;
text-align: right;
margin-bottom: -20px;
}
Hope it helps!
Thanks!!!
If you need anything else, please let us know.
Best regards,
8Theme Team
The issue related to '‘Google login in first option in my account drop-down window’' has been successfully resolved, and the topic is now closed for further responses