title: Materialize css not working with static css files
body: <p>I am trying to implement a navbar on my web page. I've done it so far but when I tried opening the page on mobile it didn't show any navbar link. I came across this 'hamburger menu' and the code below works perfectly , the only problem is when I try to replace</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css"&gt;
  </code></pre>
  
  <p>with</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;link type="text/css" rel="stylesheet" href="{% static 'competition/materialize.css' %}"/&gt;
  </code></pre>
  
  <p>which refers to the css file on my folder, it stops working. By stops working I mean that the collapsible menu doesn't work on mobile and on pc the collapsible menu shows up overlaying the logo text. I need to use the css file on a local machine to be able to edit the colors of navbar.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>{% load static %}
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;
      &lt;link type="text/css" rel="stylesheet" href="{% static 'competition/materialize.css' %}"  media="screen,projection"/&gt;
      &lt;script src="https://code.jquery.com/jquery-3.2.1.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"&gt;&lt;/script&gt;
      &lt;script&gt;
        &lt;!-- this part is important! --&gt;
        $(document).ready(function () {
          $(".button-collapse").sideNav();
        });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;nav&gt;
      &lt;div class="nav-wrapper"&gt;
        &lt;a href="#" class="brand-logo"&gt;Logo&lt;/a&gt;
        &lt;a href="#" data-activates="mobile-demo" class="button-collapse"&gt;&lt;i class="material-icons"&gt;menu&lt;/i&gt;&lt;/a&gt;
        &lt;ul id="nav-mobile" class="right hide-on-med-and-down"&gt;
          &lt;li&gt;&lt;a href="sass.html"&gt;Sass&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="badges.html"&gt;Components&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="collapsible.html"&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="side-nav" id="mobile-demo"&gt;
          &lt;li&gt;&lt;a href="sass.html"&gt;Sass&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="badges.html"&gt;Components&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="collapsible.html"&gt;Javascript&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="mobile.html"&gt;Mobile&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>