jquery


Adding Jquery Code to WordPress

For this example we are going to use a script from a sticky menu First, add your script to a .js file located in your theme and make sure you wrap the code with the first and last lines:

Next, add the following to your functions.php file

You […]


Add Sticky Content to Your Website

Sticky content is a div that will stay at a certain point on the page even after scrolling. Also known as a sticky bar. Here is how to accomplish this with jquery and css. The javascript

The html

The CSS