Genesis custom Body Attributes
<?php
// Do NOT include the opening php tag
add_filter( 'genesis_attr_body', 'custom_add_css_attr' );
function custom_add_css_attr( $attributes ) {
// add original plus extra CSS classes
$attributes['class'] .= ' parallax';
$attributes['data-diff'] = '100';
// return the attributes
return $attributes;
}