Support

Account

Home Forums Front-end Issues Customize the acf_form Reply To: Customize the acf_form

  • Hi Saskia,

    If I understood what you mean (sorry if I didn’t), you can disable the inclusion of backend styles and javascript by using this code in your functions.php:

    add_action( 'wp_print_styles', 'my_deregister_styles', 100 );
    
    function my_deregister_styles() {
    	wp_deregister_style( 'wp-admin' );
    }

    This will avoid any backend css to be included in the front-end.
    But even if you don’t do this, you can overwrite the styles by applying more specif classes in your style file, ie:

    body .container .class .input

    instead of:
    .class .input

    I also have a problem with the acf_form().
    My problem is I’m trying to create an user edit page but can’t find enough documentation too.