gVectors Team
Professional WordPress Plugins and Services. wpDiscuz, WooDiscuz, Advanced Post Pagination
Hi!
How to turn off notification bell movements?
Hi @yuri-vasilchenko,
You can use the CSS code below:
#wpadminbar .wun-bell.wun-has-unread, .wun-bell.wun-has-unread {animation:none !important;}
@astgh
Excellent, thank you!
Right here please write me the code to disable the bell animation in the backend.
Unfortunately, this code did not remove the bell animation on the main page of the site. Please help me to the end.
@yuri-vasilchenko,
You should use the CSS code below:
#wpadminbar .wun-bell.wun-has-unread, .wun-bell.wun-has-unread { animation: none !important; }
Follow the instructions provided here: https://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/
@astgh But this is the same code you wrote the first time!
You should put it in the other place. But keep all previous codes.
Ok, it got done! )
I've disabled the animation on the site in the frontend, but I still have the animation in the admin panel. I would like to disable it too!
The solution was already provided:
add_action('admin_head', 'my_custom_fonts'); function my_custom_fonts() { echo '<style> #wpadminbar .wun-bell.wun-has-unread, .wun-bell.wun-has-unread { animation: none !important; } </style>'; }
You should put the code above in the functions.php file of the currently active theme.
It works! The question is closed. Thank you!
I would recommend that you add an option to enable/disable the bell animation directly in the extension's settings.