• I have the registration block added on my Elementor page and unfortunately it is not displayed correctly. I would like to change the background color of the text fields and center the register button. How can i do this?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter guardenza

    (@guardenza)

    And is there a possibility to hide the affiliate dashboard in “My account” for non affiliate users? Because now the affiliate tab and registration form is displayed for all users in My account

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi,

    You can use the following code in the functions.php to remove the endpoint:

    if ( class_exists( 'YITH_WCAF_Affiliate_Factory' ) && class_exists( 'YITH_WCAF_Dashboard_My_Account' ) && function_exists( 'YITH_WCAF_Dashboard' ) && ! function_exists( 'yith_wcaf_remove_endpoint_no_affiliates' ) ) {
        function yith_wcaf_remove_endpoint_no_affiliates() {
            $is_affiliate = YITH_WCAF_Affiliate_Factory::get_current_affiliate();
    
            $instance = YITH_WCAF_Dashboard();
    
            if ( $instance instanceof YITH_WCAF_Dashboard_My_Account && ( ! $is_affiliate || $is_affiliate && ! $is_affiliate->is_valid() ) ) {
                remove_action( 'woocommerce_account_menu_items', array( $instance, 'add_menu_items' ), 10 );
            }
        }
    
        add_action( 'init', 'yith_wcaf_remove_endpoint_no_affiliates' );
    }

    To change the style of the form you can add this CSS code:

    /*To change the center the button*/
    .yith-wcaf-registration-form .button[name=register]{
        padding: 0px;
    }
    
    /*To change the color of the inputs*/
    .yith-wcaf-registration-form .input-text{
        background-color: lightgrey;
    }
    
    

    Have a great day.

    Thread Starter guardenza

    (@guardenza)

    Thank you for your reply. The functions code and css adjustment works! I only see the same problem occuring with the button for “go to your dashboard” when an affiliate user is already logged in. Is there a CSS code i can use to adjust all registration buttons including translations?

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    In order to achieve what you need, please replace the previous CSS with this new one:

    /*To change the center the button*/
    .yith-wcaf-registration-form .button[name=register], .go-to-dashboard{
        padding: 0px;
    }
    
    /*To change the color of the inputs*/
    .yith-wcaf-registration-form .input-text, .go-to-dashboard{
        background-color: lightgrey;
    }

    Check it out and tell us any news.

    Best regards.

    Thread Starter guardenza

    (@guardenza)

    The ‘Go to your dachboard’ button is still not centred

    Thread Starter guardenza

    (@guardenza)

    I see another problem on the mobile view. The affiliate dashboard in My account only shows the overview. All other tabs such as commissions, coupons, settings, etc. are not displayed. Can you help me with this too?

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    I’m sorry but I couldn’t access your affiliates dashboard. Do you have any affiliates under the email [email protected]? Or with the username yith support? If so, please delete it to try to access it again.

    Best regards.

    Thread Starter guardenza

    (@guardenza)

    You can create an affiliate account and check the mobile dashboard for the issue

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    It seems that the affiliate registration page on your site does not exist, so I was unable to register.

    Could you check it, please?

    Best regards.

    Thread Starter guardenza

    (@guardenza)

    Sorry about that. I changed the URL to: https://www.guardenza.com/affiliate-ambassador-program/

    I have managed to fix the mobile view problem. The only thing left is that i can’t translate the registration form of dashboard with WPML. Some strings i have managed to translate but rest is not possible. Can you help me with this?

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    Unfortunately, those labels cannot be translated using WPML. Can you tell us which labels you want to modify and by which text?

    Let us know any news.

    Best regards.

    Thread Starter guardenza

    (@guardenza)

    I would like to translate the following text to dutch:

    Last name -> Achternaam

    Email address -> E-mailadres

    Website or social media url -> Website of social media url

    I have read and agree to the terms and conditions and privacy policy > Ik heb de algemene voorwaarden en privacybeleid gelezen en ga ermee akkoord.

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    I just checked your site and see that you have the premium version of our plugin installed, so if you need help please open a support ticket, as this is a forum dedicated exclusively to our free version.

    Let us know any news.

    Best regards.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Registration form not displayed correctly’ is closed to new replies.