Kat wrote:Hi Karl,
How can i customize the message when mail form is sent like "your message has been sent successfully" or a "thank you" page.
Currently not possible. I wanted to keep it simple ... but I will add options for this in a near-future release. It will likely be part of our plans to create language/translation files for frontend.
Kat wrote:I can change in the css, the content which is now a little square for the checkmark, but there not much more i can do :
.fa-check::before, div.form-success::before, .x-list-check li::before {
content: "your message has been sent successfully";
}
Sorry, did you actually try this? It could work, but I would expect the font size to be enormous, and you would likely need to change the font of that element also, since it's styled for a large ICON using font-awesome font. Actually, better you do this instead:
.form-success:after {
content: "Thank you blah blah ...";
}
You will probably need to assign a font-size and even a font, since it inherits the icon. Perhaps you need to hide the icon also ... Assuming you know a bit CSS ...
Kat wrote:or customize this div, if so, where to add in contact custom content ? ;
<div class="form-success" style="opacity: 1; transform: translateY(0px);"> your message was sent.....</div>
That is injected by JS dynamically, so not a solution.
Kat wrote:Also, when the mail is sent one need to refresh the page to see again the contact page, instead of just clic in the nav menu. Is it possible to change that somehow ?
Is it really necessary for the visitor to reload the contact form right after sending an email? Seems unproductive. Fixing this would require us to change logic so that visitors can click links for the same page they are already on.