Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How do I remove gender from profile settings

Hi! I'm trying to remove gender (because it shouldn't matter). I found via google that I can remove it from being displayed when people register by using css. http://vanillaforums.org/discussion/comment/203295/#Comment_203295 But I couldn't find the right file to edit, anyway... The CSS trick only solves one problem for me. Because people can still go into profile settings and pick gender there. Is there a way to solve this?

I don't know a lot of code and tried to find some sort of addon, but found none.

Tagged:

Comments

  • whu606whu606 MVP
    edited February 2015

    To make css changes in Vanilla you create your own theme.

    This is a lot easier than it sounds!

    Copy the /themes/default folder and rename it to your theme name so it sits in the root theme folder like this: /themes/your_theme_name.
    Open the "about.php" file and edit the information to reflect your theme's information.
    Create a custom.css file in the "design" folder of your custom theme.
    Edit the custom.css file to your heart's content.
    Go to your Dashboard > Themes, and apply your new theme.

    The two rules you would add to your custom.css file would be:

        .Entry .Gender {
        display: none;
        }
    
    li.Gender {
        display: none;
    }
    

    That's it.

  • bleistivt has created a great plugin that makes even easier: http://vanillaforums.org/addon/cssedit-plugin
    After you have installed that plugin you can make the CSS changes from within your dashboard B)

  • That worked really well! The plugin and the css. Thanks! : D

Sign In or Register to comment.