✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation
    • Close
  • Matthew Peters
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Matthew Peters
    Full Stack JavaScript Techdegree Student 11,114 Points

    Can someone please point out why sticky isn't working. I'm sure I've missed something, but I cannot see it.

    Posted on Aug 22, 2018 by Matthew Peters
    .a{fill-rule:evenodd;}techdegree
    Matthew Peters
    Full Stack JavaScript Techdegree Student 11,114 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    1 Answer

  • David Regel
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    David Regel
    Full Stack JavaScript Techdegree Student 5,504 Points

    How do we add a transition of 1 second for the case that the user scrolls back to the top of the page?

    Posted on Aug 7, 2018 by David Regel
    .a{fill-rule:evenodd;}techdegree
    David Regel
    Full Stack JavaScript Techdegree Student 5,504 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    0 Answers

  • Michael Ramirez
    Michael Ramirez
    3,029 Points

    I copied everything he did my header did not stick.

    Posted on Aug 2, 2018 by Michael Ramirez
    Michael Ramirez
    3,029 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    1 Answer

  • Abhijit Das
    Abhijit Das
    5,022 Points

    I want to add a back ground color of header

    Posted on Aug 26, 2017 by Abhijit Das
    Abhijit Das
    5,022 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Vic Mercier
    Vic Mercier
    3,276 Points

    Are all plugins able to use the same jQuery version?

    Posted on Aug 22, 2017 by Vic Mercier
    Vic Mercier
    3,276 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    1 Answer

  • Vic Mercier
    Vic Mercier
    3,276 Points

    What does the topSpacing property do?

    Posted on Aug 22, 2017 by Vic Mercier
    Vic Mercier
    3,276 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    1 Answer

  • Anwar Rizalman
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Anwar Rizalman
    Python Development Techdegree Graduate 33,620 Points

    The transition-property was not defined anywhere in the css?

    Posted on Aug 9, 2017 by Anwar Rizalman
    .a{fill-rule:evenodd;}techdegree seal-36
    Anwar Rizalman
    Python Development Techdegree Graduate 33,620 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    1 Answer

  • Bridger Hammond
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Bridger Hammond
    Front End Web Development Techdegree Graduate 14,156 Points

    Project Files are already complete

    Posted on Apr 3, 2017 by Bridger Hammond
    .a{fill-rule:evenodd;}techdegree seal-36
    Bridger Hammond
    Front End Web Development Techdegree Graduate 14,156 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    0 Answers

  • Bappy Golder
    Bappy Golder
    13,449 Points

    Why is my header not sticking?

    Posted on Nov 14, 2016 by Bappy Golder
    Bappy Golder
    13,449 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Daniel Bettech
    Daniel Bettech
    7,365 Points

    Including code pieces into master file

    Posted on Oct 28, 2016 by Daniel Bettech
    Daniel Bettech
    7,365 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Kathryn Notson
    Kathryn Notson
    25,941 Points

    Full Stack JavaScript: Using jQuery Plugins: Add a Sticky Navigation Bar: Adding Sticky Navigation

    Posted on Sep 19, 2016 by Kathryn Notson
    Kathryn Notson
    25,941 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Christopher Mlalazi
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Christopher Mlalazi
    Front End Web Development Techdegree Graduate 17,305 Points

    Pages Disappearing

    Posted on Mar 17, 2016 by Christopher Mlalazi
    .a{fill-rule:evenodd;}techdegree seal-36
    Christopher Mlalazi
    Front End Web Development Techdegree Graduate 17,305 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Brandon Smith
    Brandon Smith
    7,420 Points

    Using the Sticky.js this with the bootstrap template

    Posted on Feb 18, 2016 by Brandon Smith
    Brandon Smith
    7,420 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    0 Answers

  • Wilson Usman
    Wilson Usman
    35,206 Points

    Uncaught TypeError: $(...).sticky is not a function

    Posted on Jan 3, 2016 by Wilson Usman
    Wilson Usman
    35,206 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    6 Answers

  • Alex Jang
    Alex Jang
    2,062 Points

    Why are script tags inside the body tags of the index and team files but outside of the body tags in work file?

    Posted on Dec 30, 2015 by Alex Jang
    Alex Jang
    2,062 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    0 Answers

  • Oğulcan Girginc
    Oğulcan Girginc
    24,848 Points

    Transition Works Differently on Safari

    Posted on Dec 30, 2015 by Oğulcan Girginc
    Oğulcan Girginc
    24,848 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    1 Answer

  • Ankit Prasad
    Ankit Prasad
    1,677 Points

    Background color changing problem

    Posted on Nov 29, 2015 by Ankit Prasad
    Ankit Prasad
    1,677 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Hemanth Lingam
    Hemanth Lingam
    1,626 Points

    links for transition

    Posted on Oct 20, 2015 by Hemanth Lingam
    Hemanth Lingam
    1,626 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • Filippo D'Arrigo
    Filippo D'Arrigo
    5,285 Points

    Sticky Header

    Posted on Sep 27, 2015 by Filippo D'Arrigo
    Filippo D'Arrigo
    5,285 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    3 Answers

  • Maxwell Gover
    Maxwell Gover
    4,246 Points

    Header background wont change

    Posted on Sep 14, 2015 by Maxwell Gover
    Maxwell Gover
    4,246 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    2 Answers

  • howard lawler
    howard lawler
    10,579 Points

    can't get sticky() to work

    Posted on Sep 7, 2015 by howard lawler
    howard lawler
    10,579 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    4 Answers

  • Sergio Cruz
    Sergio Cruz
    15,550 Points

    sticky() only applies to work.html. Does not work on team.html or index.html. Console says sticky is not a method

    Posted on Aug 12, 2015 by Sergio Cruz
    Sergio Cruz
    15,550 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    3 Answers

  • Kevin Daniel Pantasdo
    Kevin Daniel Pantasdo
    6,369 Points

    Found an error in the work.html, where <img src="mg/side-kitt.png" alt=''> uses a lower case "k"

    Posted on Jul 29, 2015 by Kevin Daniel Pantasdo
    Kevin Daniel Pantasdo
    6,369 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    0 Answers

  • Robin Malhotra
    Robin Malhotra
    14,883 Points

    Reverse Transition?

    Posted on May 24, 2015 by Robin Malhotra
    Robin Malhotra
    14,883 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    3 Answers

  • Juan García
    Juan García
    10,723 Points

    Selecting several CSS selectors without a comma

    Posted on May 4, 2015 by Juan García
    Juan García
    10,723 Points
    • JavaScript
    • Using jQuery Plugins
    • Add a Sticky Navigation Bar
    • Adding Sticky Navigation

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.