🤑 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

  • 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
  • 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 August 22, 2018 4:25pm 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 August 7, 2018 7:46pm 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 August 2, 2018 12:00am 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 August 26, 2017 6:52am 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 August 22, 2017 9:20pm 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 August 22, 2017 2:24pm 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 August 9, 2017 10:08am 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 April 3, 2017 12:30am 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 November 14, 2016 3:38am 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 October 28, 2016 7:58am 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 September 19, 2016 5:48pm 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 March 17, 2016 7:08pm 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 February 18, 2016 7:20pm 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 January 3, 2016 4:46pm 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 December 30, 2015 8:58pm 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 December 30, 2015 8:32pm 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 November 29, 2015 3:55am 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 October 20, 2015 4:04pm 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 September 27, 2015 6:09pm 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 September 14, 2015 9:50pm 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 September 7, 2015 3:55pm 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 August 12, 2015 9:38pm 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 July 29, 2015 1:12am 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 May 24, 2015 9:04am 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 May 4, 2015 5:23pm 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.