Altering Header Style by Page

/**
 * Alter your header style for your home page
 */
function my_homepage_header_style( $style ) {

	// Return the transparent header style
	if ( is_front_page() ) {
		$style = 'transparent';
	}

	// Return
	return $style;

}
add_filter( 'ocean_header_style', 'my_homepage_header_style' );

All PHP snippets should be added via a child theme's functions.php file.