Remove Side bar from single.php

Discussion in 'ColorWay WordPress Theme' started by pharma, Jan 3, 2015.

  1. pharma

    pharma New Member

    Joined:
    Sep 29, 2014
    Messages:
    11
    Likes Received:
    0
    Hi!

    Tried to take away/remove the "<?php get_sidebar(); ?>" in my single.php. Problem is when I delete this string "<?php get_sidebar(); ?>" the site http://www.fokuspharma.se/nyheter/vi-halsar-kunden-cba-valkommen-som-kund/ change background and the layout "crash". Is there any smooth css code for this to remanie the background color and layout and get rid of the side bar?
     
  2. Naveen

    Naveen Guest

    Joined:
    Aug 8, 2014
    Messages:
    1,739
    Likes Received:
    64
    Dear User,

    In order to remove side bar from your page, you need to paste below CSS code in Custom CSS field located in Dashboard->Appearance->Theme Options->Styling Options
    Code:
    .sidebar{
    display: none;
    }
    This will resolve your issue,

    Thanks & Regards!
    Naveen Kolhe

     

Share This Page