WordPress.org

Support

Support » How-To and Troubleshooting » Remove sidebar in article view

Remove sidebar in article view

  • hey guys,
    I have a blog with the Catch-Box Theme. The Default Layout is: Content on left.
    At the start-page, where are all the new articles are displayed, the content is on the left side, the widgets on the right side in the sidebar. So far so good.
    The problem is that the widgets/the sidebar are still displayed, when I click on an article.
    What can I do to remove the widgets sidebar in the article view?
    Thanks for your help.

    eljobso

Viewing 6 replies - 1 through 6 (of 6 total)
  • You’ll have to look in your single.php file and remove the code for the sidebar. You might have to adjust some of the css on that page too to make the content span the width of the page. I’ve never used that theme, so I don’t know for sure exactly what that code/css would be.

    or you can use css to hide it…

    Link to site?

    Cassihi’s advice is good. I wouldn’t use CSS to hide it, because your page will still be loading the sidebar and all of its widgets. There’s no need to load your sidebar if you don’t intend on displaying it.

    Hi eljobso,

    We will be adding the layout option for pages and posts in later version update. For now, you only have option to select the overall layout from the theme option.

    If page then there is one template disable sidebar. You can use that. For articles, you need to manual coding by building child theme. As we don’t recommend to change codes and css in the main theme file. As when we you update the theme, you changes will be gone. So, please be careful.

    We have already implement the layout option in Simple Catch theme and now will be doing same in catch box.

    Regards,
    Sakin

    Hey there,
    thanks for all your answers. With regard to Sakin, I think I will wait for the theme update.

    Regards
    eljobso

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove sidebar in article view’ is closed to new replies.
Skip to toolbar