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?
rornvi
New
I want to disable new post notifications saying "1 New" in yellow background alongside each thread.
0
Best Answers
-
Chanux ✭✭
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;
0 -
whu606 MVP
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.
2
Answers
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;
@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.
@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.
@Stewartiee thank you so much. i'll try now.
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.@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.