Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
2.7 kB
3
Indexable
Never
add_action('wp_head', function(){
	?>
	<script>
		jQuery(document).ready(function(){
			jQuery('<h3 style="margin: 30px 20px -9px 3px !important;color: black !important;border-bottom: 1px solid #b0b0b0;padding-bottom:5px;">Shipping Address</h3>').insertBefore(jQuery('#b2bking_field_2209').parent().parent());
jQuery('<h3 class="billing_address" style="margin: 30px 20px -9px 3px !important;color: black !important;border-bottom: 1px solid #b0b0b0;padding-bottom:5px;">Billing Address</h3>').insertBefore(jQuery('#b2bking_field_2186').parent().parent());
			setTimeout(function(){
				jQuery('#reg_email').parent().detach().insertBefore('.billing_address');
				jQuery('.password-input').parent().detach().insertBefore('.billing_address');
				
				jQuery('#reg_email').parent().prop('style','width: 49% !important;display: inline-block !important;float:right');
			}, 100);
		});
	</script>
	<style>
		label.woocommerce-form__label.woocommerce-form__label-for-checkbox {
			margin-top: 2px !important;
		}
		label[for="reg_password"], .password-input {
			width: 100% !important;
		}
		.b2bking_custom_registration_container_field_2193{
			width: 49% !important;
		}
		.b2bking_custom_registration_container_field_2211, .b2bking_custom_registration_container_field_2212 {
			width: 49% !important;
			display: inline-block !important;
		}
		.b2bking_custom_registration_container_field_2212 {
			float: right;
		}
		.b2bking_custom_registration_container_field_2214, .b2bking_custom_registration_container_field_2210 {
			width: 49% !important;
			display: inline-block !important;
		}
		.b2bking_custom_registration_container_field_2210 {
			float: right;
		}
		.b2bking_custom_registration_container_field_2183, .b2bking_custom_registration_container_field_2184 {
			width: 49% !important;
			display: inline-block !important;
		}
		.b2bking_custom_registration_container_field_2184 {
			float: right;
		}
		.b2bking_custom_registration_container_field_2190, .b2bking_custom_registration_container_field_2195 {
			width: 49% !important;
			display: inline-block !important;
		}
		.b2bking_custom_registration_container_field_2195 {
			float: right;
		}
		.b2bking_custom_registration_container_field_2188, .b2bking_custom_registration_container_field_2216 {
			width: 49% !important;
			display: inline-block !important;
		}
		.b2bking_custom_registration_container_field_2216 {
			float: right;
		}
		.b2bking_custom_registration_container_field_2189, .b2bking_custom_registration_container_field_2191 {
			width: 49% !important;
			display: inline-block !important;
		}
		.b2bking_custom_registration_container_field_2191 {
			float: right;
		}
	</style>
	<?php
});
Leave a Comment