title: How to change the color of fixed navigation links when it reaches a certain section?
body: <p>I'm trying to figure out how to change the color of the links in my fixed navigation (placed on the side of the page) when it reaches a certain section on the page (because the background of that section is the same color as the links in my navigation).</p>
  
  <p>I am a jQuery newbie, so I don't really know how to go about this. I tried this, naively thinking it might work (but, as you guessed it, it didn't):</p>
  
  <pre><code>if ($('.fixednav').offset().top == $('.intro-section').offset().top) {
      $('.fixednav a').css('color', '#ececef');
  }
  </code></pre>
  
  <p>If anyone could give me a hint, I'd be really grateful!</p>