Support » Plugin: WooCommerce Multiple Customer Addresses » Please add font-awesome correctly

  • It seems that the wp-content/plugins/multiple-customer-addresses-for-woocommerce/assets/css/public.css file has a use of font-awesome.
    Please enqueue font-awesome in the wp-content/plugins/multiple-customer-addresses-for-woocommerce/ma-multiple-customer-addresses.php file.

    function wmca_styles() {
    	wp_register_style( 'fontawesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' );
    	wp_enqueue_style( 'fontawesome' );
    }
    add_action( 'wp_enqueue_scripts', 'wmca_styles' );

    Then add the font-awesome family in the public.css file.

    body.woocommerce-account ul li.woocommerce-MyAccount-navigation-link--ma-manage-address a:before{
    	font-family: "FontAwesome";
    	content: "\f2bc"
    }
  • The topic ‘Please add font-awesome correctly’ is closed to new replies.