How to customize store setup wizard CSS

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 7 reply threads
  • Author
    Posts
    • #35914
      samsun34567
      Participant

      Hi,

      As title, how do I do this –> Also is it possible to take out some of the input fields in the store setup wizard?

      It’s OK if that’s too much trouble. I could use CSS to hide it.

    • #35946
      WCFM Forum
      Keymaster

      Hi,

      What you want to change?

      Thank You

    • #35955
      samsun34567
      Participant

      Okay so first of all I’d like to change the font style and also some font weight.

      Second I’d like to take out some input fields such as county/state in address section and also banking info such as IBAN/SWIFT etc.

      Thanks!

    • #36103
      WCFM Forum
      Keymaster

      Hi,

      Kindly add this codes-

      function wcfm_marketplace_settings_fields_0211_billing_bank( $bank_fields, $vendor_id ) {
      	if( isset( $bank_fields['swift'] ) ) {
      		$bank_fields['swift']['class'] = 'wcfm_custom_hide';
      		$bank_fields['swift']['label_class'] = 'wcfm_custom_hide';
      	}
      	if( isset( $bank_fields['iban'] ) ) {
      		$bank_fields['iban']['class'] = 'wcfm_custom_hide';
      		$bank_fields['iban']['label_class'] = 'wcfm_custom_hide';
      	}
      	return $bank_fields;
      }
      add_filter('wcfm_marketplace_settings_fields_billing_bank', 'wcfm_marketplace_settings_fields_0211_billing_bank', 50, 2 );
      
      function wcfm_marketplace_settings_fields_0410_address( $address_fields ) {
      	if( isset( $address_fields['state'] ) ) {
      	  $address_fields['state']['class'] = 'wcfm_custom_hide';
      	  $address_fields['state']['label_class'] = 'wcfm_custom_hide';
      	}
      	if( isset( $address_fields['country'] ) ) {
      	  $address_fields['country']['class'] = 'wcfm_custom_hide';
      	  $address_fields['country']['label_class'] = 'wcfm_custom_hide';
      	}
      	return $address_fields;
      }
      add_filter( 'wcfm_marketplace_settings_fields_address', 'wcfm_marketplace_settings_fields_0410_address' );
      add_filter( 'wcfm_membership_registration_fields_address', 'wcfm_marketplace_settings_fields_0410_address' );

      “I’d like to change the font style and also some font weight.”
      – just add your CSS for the purpose.

      Thank You

    • #36134
      samsun34567
      Participant

      Great!

      Where exactly do I add this code in?

    • #36136
      WCFM Forum
      Keymaster

      Hi,

      Add this code in your child theme’s functions.php

      Thank You

    • #36141
      samsun34567
      Participant

      Thanks a lot!! You guys are the best!

    • #36219
      WCFM Forum
      Keymaster

      You are welcome 🙂

Viewing 7 reply threads
  • The topic ‘How to customize store setup wizard CSS’ is closed to new replies.