function themename_customizer_styles() {
  wp_enqueue_style( 'themename-customizer-css', get_template_directory_uri() . '/css/themename-customizer.css' );
  add_action( 'customize_controls_print_styles', 'themename_customizer_styles' );

I want the above style to load only when the default is loaded or in the head section just below the default.

  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="three.css">
  <link rel="stylesheet" href="style.css">
  <link rel="stylesheet" href="custom.css">

In the above custom.css will override any CSS, for example.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.