legacy-knowledge-base
公開されました Sep. 10, 2025

How to disable error messages?

written-by

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • How to disable 'Your Request failed to complete' error messages?

Environment

  • Liferay DXP 7.4

Resolution

Please note: The following information involves customizations or implementation ideas that are beyond the scope of Liferay Support.  Please exercise appropriate discretion in the use of this information to choose to follow it. 

  • In order to achieve this, users can opt for writing custom CSS to hide error messages at the theme level by navigating to Control Panel > Site Builder > Pages > Click on Options (three ellipses dot at the top right corner) > Configuration > add below CSS code in Insert custom CSS that is loaded after the theme box:
    .alert-notifications{
    display:none;
    }
    .alert-notifications-fixed{
    display:none;
    }

Additional Information

  • The above approach would suppress success messages as well; hence, follow this approach at your discretion.
did-this-article-resolve-your-issue

legacy-knowledge-base