JavaScript

Take advantage of the Tailpro past, current and future updates, by learning how to create your own content without changing the core styles of Tailpro.

How to create a new Javascript?

To avoid file loss, overrides of your custom styles or any other conflicts during the upgrade process, create or modify your custom javascript in src/js/theme.js file.

                
                  // Custom JS
                  const myCustom = function () {
                    
                    // insert your javascript in here

                  }