Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Dutching,

    Please copy the single.php file to your child theme, and make the following changes:

    Remove the following code:

    <div class="sidebar-wrap col-md-3 content-left-wrap">
    	<?php get_sidebar(); ?>
    </div><!-- .sidebar-wrap -->

    Now find this:

    <div class="content-left-wrap col-md-9">

    and replace it with:

    <div class="content-left-wrap col-md-12">

    And that’s all. 🙂

    Regards,
    Hardeep

    Thread Starter Dutching

    (@dutching)

    Hi Harpeed,

    It is working but on all the page. For exemple if I use the “search” box, I still have the sidebar on my resul page.

    Thanks

    Hi,

    To remove it from pages, make the same change to page.php file. 🙂

    And to remove from blog pages, then make these changes to index.php and template-blog.php

    Regards.
    Hardeep

    giftors

    (@giftors)

    Hello Dutching ,
    in just 2 steps you could resolve this:

    STEP 1:
    In your page.php find the below code;

    <?php
    
    if( function_exists('is_cart') && is_cart()) {
    echo '</div>';
    }
    else {
    echo '</div>';
    echo '<div class="sidebar-wrap col-md-3 content-left-wrap">';
    
    get_sidebar();
    
    echo '</div>';
    }
    
    ?>

    Now replace with;

    <?php
    
    	if( function_exists('is_cart') && is_cart()) {
    		echo '</div>';
    	}
    	else {
    		echo '</div>';
    
    	}
    
    ?>

    STEP 2 :
    In your page.php find the below code;
    echo '<div class="content-left-wrap col-md-9">';

    Replace with;
    echo '<div class="content-left-wrap col-md-12">';

    How do I remove the word Zerif and put in my blog name at the top of the home page and individual posts? Do I have to upgrade to a pro account?

    Hi Kev,

    Please start a new thread instead, as it’s advised by WordPress.org’s forum guidelines.

    Regards,
    Hardeep

    None of the above suggestions work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to Remove Sidebar?’ is closed to new replies.