This topic has 10 replies, 3 voices, and was last updated 8 months ago ago by Andrew Mitchell
Hello. I would like to know how to hide the following fields from the seller registration section. Image attached.
Hi @Ronny,
Please add the following CSS under Theme Options > Theme Custom CSS > Global CSS:
#customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(4),
#customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(5),
#customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(6),
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(4),
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(5),
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(6) {
display: none;
}
Hope it helps!
I made the change but it didn’t work out. Attached images.
Hi @Ronny,
We used this account to access your website but it didn’t work.
Could you please check again?
Thank you!
Done
I’m sharing these images with you so that you can access the seller registration page.
Hi @Ronny,
We’ve changed the custom CSS codes to this:
#customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(4),
#customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(5),
#customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(6),
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(4),
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(5),
form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(6),
#dokan-vendor-register > p:nth-child(9),
#dokan-vendor-register > p:nth-child(10),
#dokan-vendor-register > p:nth-child(11){
display: none !important;
}
Now the fields are hidden. Can you check again?
Best Regards,
The 8Theme Team.
“Perfect, it works. Now I would like to know if it’s possible to change the title of the field ‘Bank name’ to ‘Nombre del banco and ‘Bank IBAN’ to ‘Cuenta IBAN’.”
Hi @Ronny,
Please try adding the following code under functions.php file locates in your child theme:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Name of Bank' :
$translated_text = 'Nombre del banco';
break;
case 'Bank IBAN' :
$translated_text = 'Cuenta IBAN';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
Hope it helps!
Dear Ronny,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘Concealing Fields in Seller Registration’' has been successfully resolved, and the topic is now closed for further responses