title: Style.css doesn't work on my custom wordpress themes
body: <p>I'm new at wordpress and I know that there is a lot of answer about my problem but, even I already tries a lot of them and it still doesn't work no matter what I do.</p>
  
  <p>I already make my own custom wordpress themes and it works using bootstrap external link style but my own style.css doesn't apply right. just to make sure I already include it in my header.php too. I make it using this tutorial <a href="https://www.elegantthemes.com/blog/tips-tricks/converting-html-sites-to-wordpress-sites" rel="nofollow noreferrer">converting-html-sites-to-wordpress-sites</a></p>
  
  <p>this is my header.php</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt;
  
      &lt;title&gt;walabi&lt;/title&gt;
  
      &lt;!-- Font Awesome --&gt;
      &lt;link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"&gt;
      &lt;link href="https://fonts.googleapis.com/css?family=Niconne&amp;display=swap" rel="stylesheet"&gt;
      &lt;link href="https://fonts.googleapis.com/css?family=Nunito&amp;display=swap" rel="stylesheet"&gt;
  
      &lt;!-- Custom CSS --&gt;
      &lt;link rel="stylesheet" href="&lt;?php bloginfo('stylesheet_url');?&gt;css/style.css"&gt;
  
      &lt;!-- Bootstrap core CSS --&gt;
      &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"&gt;
  
      &lt;!-- Material Design Bootstrap --&gt;
      &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.7/css/mdb.min.css" rel="stylesheet"&gt;
  
      &lt;!-- Cache Control --&gt;
      &lt;meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /&gt;
      &lt;meta http-equiv="Pragma" content="no-cache" /&gt;
      &lt;meta http-equiv="Expires" content="0" /&gt;
      &lt;meta http-equiv="refresh" content="600"&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;!-- Header Start --&gt;
      &lt;nav id="paham-nav" class="navbar navbar-expand-lg fixed-top scrolling-navbar"&gt;
  
          &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation"&gt;
              &lt;span class="navbar-toggler-icon"&gt;&lt;i class="fas fa-chevron-down" style="color: aliceblue"&gt;&lt;/i&gt;&lt;/span&gt;
          &lt;/button&gt;
  
          &lt;div class="collapse navbar-collapse" id="navbarTogglerDemo02"&gt;
              &lt;ul class="navbar-nav ml-auto nav-flex-icons"&gt;
                  &lt;li class="nav-item"&gt;
                      &lt;a class="nav-link" href="index.php"&gt;Home&lt;/a&gt;
                  &lt;/li&gt;
                  &lt;li class="nav-item"&gt;
                      &lt;a class="nav-link" href="career.php"&gt;Career&lt;/a&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;    
      &lt;/nav&gt;
      &lt;!-- Header End --&gt;
  
  </code></pre>
  
  <p>this is my function.php (first of all how this function.php work? when i'm not even declare it)</p>
  
  <pre><code>&lt;?php
  //Definir le répertoire du thème
  define("THEME_DIR", get_template_directory_uri());
  
  //Enlever le générateur de tags meta pour la sécurité (les gents ne peuvent pas voir quelle version WP)
  remove_action('wp_head', 'wp_generator');
  
  
  // ENQUEUE STYLES
  function enqueue_styles() {
  
      /* Main CSS */
      wp_register_style( 'style', THEME_DIR . '/style.css', array(), '1', 'all');
      wp_enqueue_style( 'style' );
  
  }
  add_action( 'wp_enqueue_scripts', 'enqueue_styles' );
  ?&gt;
  </code></pre>
  
  <p>this is some answer that i try:</p>
  
  <p><a href="https://stackoverflow.com/questions/31424442/style-css-in-wordpress-doesnt-work-after-adding-header-php-file">style-css-in-wordpress-doesnt-work-after-adding-header-php-file</a></p>
  
  <p><a href="https://stackoverflow.com/questions/36680866/style-css-not-loading-in-wordpress-theme">style-css-not-loading-in-wordpress-theme</a></p>
  
  <p><a href="https://stackoverflow.com/questions/21079255/style-css-not-working-in-wordpress/50562347#50562347">style-css-not-working-in-wordpress</a></p>
  
  <p>Just to make sure this is my directory :</p>
  
  <p><a href="https://i.stack.imgur.com/ALJdB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ALJdB.png" alt="this is my themes directory"></a></p>
  
  <p>in my directory there is:</p>
  
  <ul>
  <li>career.php</li>
  <li>footer.php</li>
  <li>header.php</li>
  <li>index.php</li>
  <li>function.php</li>
  <li>screenshot.png</li>
  <li>style.css</li>
  </ul>
  
  <p>can someone help me to solve this? I still can't solve this since yesterday</p>