Remove "All categories" from the categories list

Hi there,

my name is Hans and I'm new Vanilla user. I've set it up to hopefully have a well used forum for a group of beta testers for our products. ( Click here if you're interested in what we do, it's music samples/software.)

So the first question I have, after getting Vanilla to function is, how to remove "All categories" from the categories list? Is this possible as a setting or would I have to edit the template or code that outputs this list?

Thank you and kind regards.
Hans

Comments

  • peregrineperegrine MVP
    edited October 2015

    welcome new user. I didn't click your link advertising your website. Couldn't tell if you were a spammer or advertising site, but you asked a few questions, so here are some tips (I could have tossed you a fish but a fishing rod is better):

    via css to remove first child li of PanelCategories. use a web developer tool to identify element and use display:none. add to css. see below....

    http://vanillaforums.org/discussion/comment/219925/#Comment_219925

    or if you want to change wording

    http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale

    http://vanillaforums.org/discussion/comment/222117/#Comment_222117

    http://vanillaforums.org/categories/tutorials

    http://docs.vanillaforums.com
    http://docs.vanillaforums.com
    http://docs.vanillaforums.com

    http://www.w3schools.com/cssref/sel_firstchild.asp

    however, not sure why you would want to remove a valuable link.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited October 2015

    Thank you for your answers.

    So it looks like there isn't a quick and dirty way to comment out one line in order to remove it.

    re: your concern: I just wanted to introduce myself properly to exactly avoid looking like an anonymous somebody. But I guess on the internet no matter what you do, it's wrong. sigh.

    Kind regards
    Hans

  • peregrineperegrine MVP
    edited October 2015

    good-loops said: So it looks like there isn't a quick and dirty way to comment out one line in order to remove it.

    there is a very quick and clean way via your custom.css in your cloned theme or with cssedit plugin (as mentioned in link I provided).

    .PanelCategories li:first-child {
        display: none;
    }
    

    dirty way (i.e. modifying core files) is not recommended - it pushes you into a corner during upgrade time if you edit core files.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Thank you.

    Hmm... not in the custom.css of the "bittersweet" theme. Or the find function is broken on my machine.

    It's ok, I'll live with it for the moment as I have to get my main job done and this is just a cosmetic issue that I can fix once I have more time.

    Also: part of the reason why I pointed to my website was to show that I'm not a web developer, but a musician creating software instruments.

    Kind regards
    Hans

  • peregrineperegrine MVP
    edited October 2015

    It's ok, I'll live with it for the moment as I have to get my main job done and this is just a cosmetic issue that I can fix once I have more time.

    once you have more time re-read the first link I provided and my comments. you can add css as well as edit and change things. If you do take some time, your ability to change and modify things properly in vanilla (no matter what your vocation or avocation) will be quite easy and it won't be a struggle. good luck.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • @good-loops

    Welcome to the community.

    For simple css edits, you can use this plugin:

    http://vanillaforums.org/addon/cssedit-plugin

    which allows you to make the change via the dashboard.

    Simply add the lines @peregrine gave you, and you're good.

Sign In or Register to comment.