Remove Left Sidebar

  • Unknown's avatar

    I asked the happiness engineers for advice on how to remove the left sidebar from my 2014 theme. They went in and added the CSS code below. I am not happy with the way the site looks because it actually looks like the sidebar is still there; there’s a large band of white down the left side and the featured post is cut off. I’m hoping someone can help me. I need to get rid of that band of white and my hope is that my photos will be larger and it will look less cluttered than it did with a left and right sidebar. I’m also not sure if this coding is all related to removing the sidebar or if some of it was there already for another purpose. Hope this isn’t too confusing!!

    /*
    Bem-vindo ao CSS Personalizado!

    Para saber como isso funciona, veja http://wp.me/PEmnE-Bt
    */
    /* Remove left sidebar */
    #secondary {
    display: none;
    }

    @media screen and (min-width: 1080px) {
    .site-content, .site-main .widecolumn {
    margin-left: 0 !important;
    }

    .featured-content {
    padding-left: 100px !important;
    }
    }

    /* END – Remove left sidebar*/

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there!

    Sorry you’re having issues with it! Looks like you took out the code mentioned above. Would you mind trying to see if this works instead?:

    #primary, #secondary {
    	display: none;
    }
    
    #content {
    	width: 100%;
    	margin: 0px;
    }

    Hope that helps,
    Sage

  • The topic ‘Remove Left Sidebar’ is closed to new replies.