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


How to disable yellow new post notifications?

edited February 2012 in Questions

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... Moderator
    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.

    rornviSamvan

Answers

  • 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.

  • 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... Moderator

    @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.