-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to modify Toast CSS #1012
Comments
Did you import the ToastModule.forRoot() with the toastConfig(toast configuration) to your AppModule or thereabout. I just tested using your details with the latest [email protected] and it works perfectly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const toastrConfig: Partial = {
closeButton: true,
progressBar: true,
timeOut: 10000,
toastClass: 'yourclass ngx-toastr'
// toastClass: 'custom-toastr',
// other configuration options...
};
.yourclass.toast-error{
background-color: blue !important;
}
can you please explain me why this is not working? am i doing anything wrong?
The text was updated successfully, but these errors were encountered: