title: Adding stylesheets using wp_enqueue_style only affects admin panel
body: <p>I'm building a custom Wordpress-theme and have started from scratch, with a bare minimum of theme files. I've already added a custom stylesheet to the admin panel using <code>admin_enqueue_scripts</code> and are trying to add one to the front end of the page using <code>wp_enqueue_scripts</code>, so far only consisting of the index.php. Using the below code returns no changes, and viewing the source code reveals that no stylesheet have been added.</p>
  
  <pre><code>function diverse_stilsett() {
      wp_enqueue_style( 'ansattpanel', get_template_directory_uri() . '/css/ansattpanel.css' );
  }
  add_action( 'wp_enqueue_scripts', 'diverse_stilsett' );
  </code></pre>
  
  <p>But if i remove the function and enqueue the style directly it for some reason affects the admin panel, not index.php - which is what I'm trying to do.</p>
  
  <pre><code>wp_enqueue_style( 'ansattpanel', get_template_directory_uri() . '/css/ansattpanel.css' );
  </code></pre>
  
  <p>Anyone able to spot what I'm missing?</p>