Skip to Content


Adds helper classes (and other attributes) to appropriate elements.

JavaScript February 22, 2017


This function runs automatically, so it is not called manually. Is this incorrect?

Additional Notes

Currently this function does the following:

  • Adds rel=”nofollow external” to outbound links
  • Adds “no-icon” class to images within a tags
  • Adds “no-icon” class to child a tags whose parent also has the class.

This function used to add classes such as “last-child”, “first-child”, “odd”, and “even” to appropriate elements, but has been removed since support for old browsers who needed them has been dropped.

Source File

This function was not found in /assets/js/nebula.js. Please report this error.


To override or disable this JavaScript function, simply redeclare it with the exact same function name.

function addHelperClasses(){
    //Write your own code here, leave it blank, or return false.