Disable side bar on all pages/posts

Hi,

I’d like to disable the sidebar completely from all pages and posts. Is there a way I can do this? (It’s not showing at the moment because I don’t have any widgets enabled, but I’m still getting the blank white space where the sidebar would be).

Thanks,
Sophie

Hello Sophie,

Please try to use the following CSS code.

You can add CSS code in DashboardAppearanceCustomizeAdditional CSS (WordPress 4.7 and up). Also you can add CSS code directly to style.css file of your child theme.

#primary {
    width: 100%;
}

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Thanks, Roman, that did the job!

You are welcome Sophie!

Kind Regards, Roman.

Hi,
I would like to show my web side with a side but only on the Start page and no Side bar on the content pages. But if the side bar isn’t used the content should be shown on the full side.
How I can set up this?
Many thanks.
BR
Jens