Viewing 1 replies (of 1 total)
  • weblizar_support

    (@weblizar_support)

    Hello,

    melfortmusic

    first create child theme using given LINK

    now copy single.php from main theme folder and paste in child theme folder after copy and paste open single.php of child theme folder go to line no.3 see codes

    <div class="container">	
    	<div class="row enigma_blog_wrapper">
    	<div class="col-md-8">	
    		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>		
    		<?php get_template_part('post','content'); 
    		get_template_part('author','intro');
    		endwhile; 
    		else : 
    		get_template_part('nocontent');
    		endif;
    		weblizar_navigation_posts();
    		comments_template( '', true ); ?>
    	</div>
    	<?php get_sidebar(); ?>	
    	</div> <!-- row div end here -->	
    </div><!-- container div end here -->

    replace it with below code

    <div class="container">	
    	<div class="row enigma_blog_wrapper">
    	<div class="col-md-12">	
    		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>		
    		<?php get_template_part('post','content'); 
    		get_template_part('author','intro');
    		endwhile; 
    		else : 
    		get_template_part('nocontent');
    		endif;
    		weblizar_navigation_posts();
    		comments_template( '', true ); ?>
    	</div>
    	<?php //get_sidebar(); ?>	
    	</div> <!-- row div end here -->	
    </div><!-- container div end here -->

    and save file

Viewing 1 replies (of 1 total)
  • The topic ‘How do I delete the side menu from blog posts?’ is closed to new replies.