'', 'class' =>'', 'fixed_background' =>'', 'background_position' =>'', 'padding' =>'', 'backgroundimage' =>'', ), $args ); extract( $defaults ); self::$args = $defaults; if(is_numeric($padding)) $padding = $padding.'px'; if($fixed_background == 'yes'): $fixed_background = 'fixed'; else: $fixed_background = ''; endif; $uniqid = uniqid('custom_box-'); $textstyle = sprintf(' .custom-box-1 {padding: %s; background-image: url(%s);background-attachment: %s;background-position: %s;} ',$padding,$backgroundimage,$fixed_background,$background_position); $styles = sprintf( '', $textstyle); $html = sprintf(' %s