How to delete the sidebar completely in On A Whim Theme

  • Unknown's avatar

    Hello,

    I would like to delete the sidebar completely on all of my pages.
    I was given the advice to type the following In the CCS edit box and it did not work. Please help! thanks :)

    .single-post .site-main .widget-area {

    display: none;

    }

    .single-post .content-area {

    width: 100%;

    }

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

  • Unknown's avatar

    The code you have would affect only the single post pages since it has the .single body class at the beginning of the selectors. Use the following instead, which will catch the main site page and all single post pages.

    .site-main .widget-area {
        display: none;
    }
    .content-area {
        width: 100%;
    }
    .navigation-social-links {
        width: 100%;
    }
  • Unknown's avatar

    Oh, and it widens the navigation area to full width as well.

  • The topic ‘How to delete the sidebar completely in On A Whim Theme’ is closed to new replies.