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 disable yellow new post notifications?

rornvirornvi New
edited February 2012 in Vanilla 2.0 - 2.8

I want to disable new post notifications saying "1 New" in yellow background alongside each thread.

Best Answers

  • ChanuxChanux Admin of Geek.lk ✭✭
    edited February 2012 Answer ✓

    if you using vanilla dealt theme, you can find the vanilla css in this directory

    your vanilla folder\applications\dashboard\design\style.css

    you can find this code in style.css

    .Meta .HasNew { position: absolute; left: 100%; top: 22px; margin-left: -18px; white-space: nowrap; }

    add this code in to { }.

    display:none;

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    Answer ✓

    @rornvi @Chanux

    You REALLY shouldn't edit core Vanilla files - you are asking for trouble when they upgrade.

    To make css or other changes, create a theme:

    http://vanillaforums.org/docs/themequickstart

    Then make the changes Chanux suggested in the custom.css file.

    The only rules that need to be in the custom.css file are the ones you add.

Answers

  • ChanuxChanux Admin of Geek.lk ✭✭
    edited February 2012 Answer ✓

    if you using vanilla dealt theme, you can find the vanilla css in this directory

    your vanilla folder\applications\dashboard\design\style.css

    you can find this code in style.css

    .Meta .HasNew { position: absolute; left: 100%; top: 22px; margin-left: -18px; white-space: nowrap; }

    add this code in to { }.

    display:none;

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    Answer ✓

    @rornvi @Chanux

    You REALLY shouldn't edit core Vanilla files - you are asking for trouble when they upgrade.

    To make css or other changes, create a theme:

    http://vanillaforums.org/docs/themequickstart

    Then make the changes Chanux suggested in the custom.css file.

    The only rules that need to be in the custom.css file are the ones you add.

  • ChanuxChanux Admin of Geek.lk ✭✭

    @whu606 thanx for advising. i added a new boxes and logos customizing default.master.php. can i do this thing using another way..?

  • @Chanux Yes you can. Just copy the default.master.php file into your new theme's view folder. Then make the changes you want. The theme will load up this file instead of the core file.

  • ChanuxChanux Admin of Geek.lk ✭✭

    @Stewartiee thank you so much. i'll try now.

  • rornvirornvi New
    edited February 2012

    I don't know why but my style.css of my custom theme doesn't have .HasNew. My "1 New" button only has <strong>1 New</strong> in source code.

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @rornvi

    Your custom.css should be empty EXCEPT for the rules you want to change.

    You don't need to copy over all the rules from style.css to your custom.css - it just makes it hard to see what you're doing.

    Use Firebug in Firefox or a similar tool to find the class of the element you want to change, then add a rule to affect that in your custom.css file.

Sign In or Register to comment.