I need to customize the success/error message after submitting details. It needs to cover areas like contact form, forum create etc.,

Especially below message,

enter image description here

Drupal Version : 7.57

Theme : Bootstrap

Also, Is there is any possibility defining a new style for above messages?


This might be what you are looking for:

Using the String Overrides module replaces the current string with what ever given.

  • Thank you so very much. It resolves my first problem. How to define new style for it? – Prasanth R Mar 26 '18 at 9:31
  • I have updated my answer – user72672 Mar 26 '18 at 9:32
  • Could you please elaborate? am not sure which class you referring too. – Prasanth R Mar 26 '18 at 9:37
  • If you right click on the error message and open inspector, then you will se a class on the error message. Then you will need to ass some css to that class :) – user72672 Mar 26 '18 at 9:38
  • 1
    @Prasanth CSS/HTML questions are off topic here - inspect the page, decide what you want to target, write some css, add it to your theme. The last part is the only Drupal-specific part and you’ll easily find out how to do that by searching either this site or google – Clive Mar 26 '18 at 9:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.