WordPress.org

Ready to get started?Download WordPress

Forums

Remove sidebar in article view (7 posts)

  1. eljobso
    Member
    Posted 1 year ago #

    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

  2. cassihl
    Member
    Posted 1 year ago #

    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.

  3. shoutingwords
    Member
    Posted 1 year ago #

    or you can use css to hide it...

  4. j.musick
    Member
    Posted 1 year ago #

    Link to site?

  5. meliko
    Member
    Posted 1 year ago #

    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.

  6. Catch Themes
    Member
    Posted 1 year ago #

    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

  7. eljobso
    Member
    Posted 1 year ago #

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

    Regards
    eljobso

Topic Closed

This topic has been closed to new replies.

About this Topic