Removing previous button in content single php

Hi, in dazzling theme when I click on my post it always shows a button to next post insde content-single.php.

I want remove it because I don’t want that
Please reply how to remove it.

Hi @bunty,

I hope you are well today and thank you for your question.

You can remove it by adding the following code in the functions.php file of your child theme or by using the attached child theme that contains the following code.

function dazzling_post_nav() {
	if( is_singular() ){
		return;
	}
	// Don't print empty markup if there's nowhere to navigate.
	$previous = ( is_attachment() ) ? get_post( get_post()->post_parent ) : get_adjacent_post( false, '', true );
	$next     = get_adjacent_post( false, '', false );

	if ( ! $next && ! $previous ) {
		return;
	}
	?>
	<nav class="navigation post-navigation" role="navigation">
		<h1 class="screen-reader-text"><?php _e( 'Post navigation', 'dazzling' ); ?></h1>
		<div class="nav-links">
			<?php
				previous_post_link( '<div class="nav-previous">%link</div>', _x( '<i class="fa fa-chevron-left"></i> %title', 'Previous post link', 'dazzling' ) );
				next_post_link(     '<div class="nav-next">%link</div>',     _x( '%title <i class="fa fa-chevron-right"></i>', 'Next post link',     'dazzling' ) );
			?>
		</div><!-- .nav-links -->
	</nav><!-- .navigation -->
	<?php
}

Best Regards,
Movin