• Resolved anti89

    (@anti89)


    Hello,

    How can i disable the option to fill in the name on the ideal payment option?

    And how can i mage an line on the field on the option to select the bank?

    See screenshot

    Thanks!

    • This topic was modified 2 years, 6 months ago by anti89.
    • This topic was modified 2 years, 6 months ago by anti89.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @anti89,

    Thank you for reaching out to us. Please use the below code snippet to hide the name field. You may please copy the snippet in the active theme’s fucntions.php file.

    add_action('wp_footer', 'wt_stripe_ideal_customization', 999);
    
    function wt_stripe_ideal_customization(){
    	?><style>
    		#eh-stripe-ideal-accountholder-name{
    			display:none;
    		}
    		label[for="eh-stripe-ideal-accountholder-name"]
    		{
    			display:none;
    		}
    	</style><?php
    }

    Regarding the bank field, can you please brief us on your query?

    Thread Starter anti89

    (@anti89)

    Hello,

    Thanks for your message!

    It works, but can the text before the field removed also?

    You have the option to select the bank, but i want to have an outline on that field from this color: #DFDFDF

    Is that possible?

    See screenshot

    Thanks!

    Plugin Author WebToffee

    (@webtoffee)

    Hi @anti89,

    Please try using the below updated code snippet and let me know how it goes.

    add_action('wp_footer', 'wt_stripe_ideal_customization', 999);
    
    function wt_stripe_ideal_customization(){
    	?><style>
    		#eh-stripe-ideal-accountholder-name{
    			display:none !important;
    		}
    		label[for="eh-stripe-ideal-accountholder-name"]
    		{
    			display:none !important;
    		}
    		#eh-stripe-ideal-element{
    			
    			border: thin solid #DFDFDF !important;
    		}
    	</style><?php
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable name field Ideal’ is closed to new replies.