Child Theme style.css has version "?ver=5.1.1" and doesn't load original

I have changed the stylesheet but it is loading an older version “?ver=5.1.1”. I have made these edits via sftp in the x-child folder.
here’s the new style sheet: https://www.navcfo.com/wp-content/themes/x-child/style.css

here’s the one that’s being loaded: https://www.navcfo.com/wp-content/themes/x-child/style.css?ver=5.1.1

Am I missing something big here? I’ve refreshed the cache. (yes the new stylesheet is empty because I want to make edits in customize>custom CSS

Thanks!

Hello There,

Thanks for writing in! The version in the stylesheet is the version of X theme. If you want to remove it, please add the following code in your child theme’s functions.php file

// Remove WP Version From Styles	
add_filter( 'style_loader_src', 'sdt_remove_ver_css_js', 9999 );
// Remove WP Version From Scripts
add_filter( 'script_loader_src', 'sdt_remove_ver_css_js', 9999 );

// Function to remove version numbers
function sdt_remove_ver_css_js( $src ) {
	if ( strpos( $src, 'ver=' ) )
		$src = remove_query_arg( 'ver', $src );
	return $src;
}

Hope this helps. Please let us know how it goes.