Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Removing Sidebar Panel on Discussion Page

edited June 2011 in Questions
Hey All,

I'm in the midst of putting together a nice theme for our community. However on our discussion page I'm needing to remove the sidebar panel (i.e. search/categories) and keep that only on the home page.

Do you know how I could approach this?

Thanks :-)

Thomas

Comments

  • ToddTodd Chief Product Officer Vanilla Staff
    I'd probably take the easy route and use css.
  • Thanks. I actually went ahead and did that :-)
  • Hello C5rockstars, for modify this function, just work on css, for example the code is very clean, edit the custom.css and delete the function "panel":

    All the code of panel and its derivatives:
    #Panel div.SearchBox input.InputBox...

    and insert only:
    #Panel {
    display: none;
    }

    Regards.
    Luciano Diaz.
  • Any possibility of a little expanded information on that, @luchesse or @c5rockstars? I'm pretty sub-beginner and this thread was the only one I could find. I want to do this as well, I've looked through my CSS for anything to do with sidebar or panel, but I'm not seeing it, and don't really understand what to add or delete once I do. (Well I would delete anything that seemed to do with it if I found it, to start with, hah..)

    Thanks so much!

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    edited June 2013

    @ne1up

    This would be considered 'necroposting' given that the thread is 2 years old...

    It is also better if you stick to one thread if you have already asked a question there.

    Most elements in Vanilla are governed by css declarations.

    The declarations are based on the default Vanilla css file.

    You can override these declarations by making new declarations in a custom.css file.

    If you are modifying a theme, you may find you have to add declarations to it.

    That is the case here.

    The custom theme is relying on the default css for Panel, so contains no specific declaration for Panel.

    ne1upUnderDog
Sign In or Register to comment.