Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss





    Magento 2: How to add close button on error and success message?

    Step1 : Override message.js in current theme file on the following path.

    – /app/design/frontend/Magemonkey/child/Magento_Theme/web/js/view/

    – Add the below code:

    Step2 : Override messages.phtml in current theme file on the following path.

    – /app/design/frontend/Magemonkey/child/Magento_Theme/templates/

    – Add the below code:

    that’s it

    Here is message design and output :

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Magento 2 Developer

      Hire P. Garchar

      Get a Free Quote





        Connect With Us