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 to Remove Vanilla Logo

How can i possibly remove the vanilla logo which is on the top.

«1

Comments

  • It is only available For Premium Members.

  • Indeed it is, sorry.

    This was the link I was intending to share.

    http://docs.vanillaforums.com/developer/theming/css/

  • @Caylus said:
    Indeed it is, sorry.

    This was the link I was intending to share.

    http://docs.vanillaforums.com/developer/theming/css/

    I still Don't understand how can remove it. Please Help

  • I never noticed a logo on the top. Couldn't that be the banner logo? You would find that by going to example.com/dashboard/settings/banner

  • No its the vanilla logo. I am using sanmyaku theme and there it just shows the vanilla banner.

  • @R_J said:
    I never noticed a logo on the top. Couldn't that be the banner logo? You would find that by going to example.com/dashboard/settings/banner

    This is how my forums looks like https://gyazo.com/dd0bdebf44da1dfa61135c27adbe2632

  • Create a new file called custom.css
    Place it in the design folder in your theme folder (i.e., /themes/your_theme_name/design/custom.css)

    Add

    h1.title div.logo
    {
    display:none;
    }
    

    To custom.css.
    Afterwards reload your webpage (clear your cache!), and it should work.

  • @Caylus said:
    Create a new file called custom.css
    Place it in the design folder in your theme folder (i.e., /themes/your_theme_name/design/custom.css)

    Add

    h1.title div.logo
    {
    display:none;
    }
    

    To custom.css.
    Afterwards reload your webpage (clear your cache!), and it should work.

    Thanks But It just removed the powered by vanilla text. I want the header at the top to be removed
    Now my webiste look like this https://gyazo.com/3e33f377ef30c0ab5bd2399f3e8cd523

  • @Caylus said:
    Create a new file called custom.css
    Place it in the design folder in your theme folder (i.e., /themes/your_theme_name/design/custom.css)

    Add

    h1.title div.logo
    {
    display:none;
    }
    

    To custom.css.
    Afterwards reload your webpage (clear your cache!), and it should work.

    Thanks But It just removed the powered by vanilla text. I want the header at the top to be removed
    Now my webiste look like this https://gyazo.com/3e33f377ef30c0ab5bd2399f3e8cd523

  • R_JR_J Admin
    edited September 2017

    It's that line which displays the logo.

    The Smarty {logo} function calls Gdn_Theme->logo() which starts like that:

        /**
         * Renders the banner logo, or just the banner title if the logo is not defined.
         *
         * @param array $Properties
         */
        public static function logo($Properties = array()) {
            $Logo = c('Garden.Logo');
    

    So if you got to npstudents.byethost5.com/settings/banner and click on "Remove Banner Logo", that logo shouldn't be displayed any longer.

  • @R_J said:
    It's that line which displays the logo.

    The Smarty {logo} function calls Gdn_Theme->logo() which starts like that:

        /**
         * Renders the banner logo, or just the banner title if the logo is not defined.
         *
         * @param array $Properties
         */
        public static function logo($Properties = array()) {
            $Logo = c('Garden.Logo');
    

    So if you got to npstudents.byethost5.com/settings/banner and click on "Remove Banner Logo", that logo shouldn't be displayed any longer.

    I tried It And i didn't work

  • Strange. I tried and it did work...

    Could you please open the file /conf/config.php and make sure that there is no line like $Configuration['Garden']['Logo']... in there?

  • @R_J said:
    Strange. I tried and it did work...

    Could you please open the file /conf/config.php and make sure that there is no line like $Configuration['Garden']['Logo']... in there?

    Nope

  • @R_J said:
    It's that line which displays the logo.

    The Smarty {logo} function calls Gdn_Theme->logo() which starts like that:

        /**
         * Renders the banner logo, or just the banner title if the logo is not defined.
         *
         * @param array $Properties
         */
        public static function logo($Properties = array()) {
            $Logo = c('Garden.Logo');
    

    So if you got to npstudents.byethost5.com/settings/banner and click on "Remove Banner Logo", that logo shouldn't be displayed any longer.

    Where do i edit this file.

  • You don't need to (and shouldn't) edit that file. Caylus way of using css seems to be best.

    Use this for your css file:

    .TitleBar {
      display:none;
    }
    
  • @R_J said:
    You don't need to (and shouldn't) edit that file. Caylus way of using css seems to be best.

    Use this for your css file:

    .TitleBar {
      display:none;
    }
    

    Nope Still Doesn't Work
    https://gyazo.com/3369cadb6ba7622c9167cb0947337f06

  • Could you share a screenshot of your CSS file being in the correct folder?

  • @Pavonis: use the plugin CSSEdit and add this rule there. It works. I tried it on your page.

  • @R_J said:
    @Pavonis: use the plugin CSSEdit and add this rule there. It works. I tried it on your page.

    thanks a lot it worked. One more question what if i want to change the logo with something else. Thanks once again.

Sign In or Register to comment.